Class: UpdateMoreItems

UpdateMoreItems(filter, changes)

Update (some) property values of all the items that pass the filter. Example: *Setting all the items that are older than a week as unavailable* ``` { "filter": "'releaseDate' < now() - 7*24*3600", "changes": {"available": false} } ```

Constructor

new UpdateMoreItems(filter, changes)

Construct the request
Parameters:
Name Type Description
filter string A [ReQL](https://docs.recombee.com/reql.html) expression, which return `true` for the items that shall be updated.
changes A dictionary where the keys are properties which shall be updated.
Source:

Methods

bodyParameters() → {Object}

Get body parameters
Source:
Returns:
The values of body parameters (name of parameter: value of the parameter)
Type
Object

queryParameters() → {Object}

Get query parameters
Source:
Returns:
The values of query parameters (name of parameter: value of the parameter)
Type
Object