This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Creates a query to retrieve a list of item modifiers.
The queryModifiers()
function builds a query to retrieve a list of item modifiers and returns a ModifiersQueryBuilder
object.
The returned object contains the query definition, which is used to run the query using the find()
function.
You can refine the query by chaining ModifiersQueryBuilder
functions onto the query. ModifiersQueryBuilder
functions enable you to filter, sort, and control the results that queryModifiers()
returns.
queryModifiers()
runs with the following ModifiersQueryBuilder
defaults, which you can override:
The following ModifiersQueryBuilder
functions are supported for queryModifiers()
. For a full description of the item modifier object, see the object returned for the items
property in ModifiersQueryResult
.
PROPERTY | SUPPORTED FILTERS & SORTING |
---|---|
_id | eq() ,ne() ,in() |
_createdDate | eq() ,ne() ,gt() ,ge() ,lt() ,le() |
_updatedDate | eq() ,ne() ,gt() ,ge() ,lt() ,le() |
name | eq() ,ne() ,in() |