queryOperation( )


Developer Preview

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.

PROPERTYSUPPORTED FILTERS & SORTING
_ideq(),ne(),exists(),in(),hasSome(),startsWith(),ascending(),descending()
_createdDateeq(),ne(),exists(),in(),hasSome(),lt(),le(),gt(),ge(),ascending(),descending()
_updatedDateeq(),ne(),exists(),in(),hasSome(),lt(),le(),gt(),ge(),ascending(),descending()
nameeq(),ne(),exists(),in(),hasSome(),startsWith(),ascending(),descending()
defaulteq(),ne(),exists(),in(),hasSome(),ascending(),descending()
fulfillmentIdseq(),ne(),exists(),in(),hasSome(),hasAll(),ascending(),descending()
onlineOrderingStatuseq(),ne(),exists(),in(),hasSome(),ascending(),descending()
serviceFeeRuleIdseq(),ne(),exists(),in(),hasSome(),hasAll(),ascending(),descending()
defaultFulfillmentTypeeq(),ne(),exists(),in(),hasSome(),ascending(),descending()
Permissions
Manage Restaurants - all permissions
Learn more about app permissions.
Method Declaration
Copy
Request
This method does not take any parameters
Returns
Did this help?