Newer Version Available
Format and Options for Remote Objects Query Criteria
where Conditions
- eq: equals
- ne: not equals
- lt: less than
- lte: less than or equals
- gt: greater than
- gte: greater than or equals
- like: string matching. As with SOQL, use “%” as a wildcard character.
- in: in, used for finding a value that matches any of a set of fixed values. Provide values as an array, for example, ['Benioff', 'Jobs', 'Gates'].
- nin: not in, used for finding a value that matches none of a set of fixed values. Provide values as an array, for example, ['Benioff', 'Jobs', 'Gates'].
- and: logical AND, used for combining conditions
- or: logical OR, used for combining conditions
Filter results based on a date range by using a combination of lte and gte. For example:
orderby Conditions
orderby enables you to set a sort order for your results. You can sort on up to three fields.
limit and offset Conditions
limit and offset enable you to retrieve a specific number of records at a time and to page through an extended set of results.
Use limit to specify how many records to return in one batch of results. The default value is 20. The maximum is 100.
Use offset to specify how many records to skip in the overall result set before adding records to the returned results. The minimum is 1. The maximum offset is 2,000 rows. Requesting an offset greater than 2,000 results in a NUMBER_OUTSIDE_VALID_RANGE error.