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 operations.
The queryOperations()
function builds a query to retrieve a list of operations and returns an OperationsQueryBuilder
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 OperationsQueryBuilder
functions onto the query. OperationsQueryBuilder
functions enable you to filter, sort, and control the results that queryOperations()
returns.
queryOperations()
runs with the following OperationsQueryBuilder
defaults, which you can override:
The following OperationsQueryBuilder
functions are supported for queryOperations()
. For a full description of the operations object, see the object returned for the items
property in OperationsQueryResult
.
PROPERTY | SUPPORTED FILTERS & SORTING |
---|---|
_id | eq() ,ne() ,exists() ,in() ,hasSome() ,startsWith() ,ascending() ,descending() |
_createdDate | eq() ,ne() ,exists() ,in() ,hasSome() ,lt() ,le() ,gt() ,ge() ,ascending() ,descending() |
_updatedDate | eq() ,ne() ,exists() ,in() ,hasSome() ,lt() ,le() ,gt() ,ge() ,ascending() ,descending() |
name | eq() ,ne() ,exists() ,in() ,hasSome() ,startsWith() ,ascending() ,descending() |
default | eq() ,ne() ,exists() ,in() ,hasSome() ,ascending() ,descending() |
fulfillmentIds | eq() ,ne() ,exists() ,in() ,hasSome() ,hasAll() ,ascending() ,descending() |
onlineOrderingStatus | eq() ,ne() ,exists() ,in() ,hasSome() ,ascending() ,descending() |
serviceFeeRuleIds | eq() ,ne() ,exists() ,in() ,hasSome() ,hasAll() ,ascending() ,descending() |
defaultFulfillmentType | eq() ,ne() ,exists() ,in() ,hasSome() ,ascending() ,descending() |