This document is a quick reference for query operators you can use to query anything that's on your content objects.
To experiment with querying your content from within Builder, you can use the Builder API Explorer.
This document covers the following operators:
Tip: Custom queries can be slower than typical queries with Builder. Keep this in mind as you write queries, particularly ones that interact with large data sets.
When querying Builder data, you can use MongoDB style operators, such as:
Operator | Description |
---|---|
Use to match values equal to a specified value. | |
Use to match values greater than a specified value. | |
Use to match values greater than or equal to a specified value. | |
Use to match any of the values you specify in an array. | |
Use to match values less than a specified value. | |
Use to match values that are less than or equal to a specified value. | |
Use to match all values not equal to a specified value. | |
Given an array of values, | |
Provide one or more expressions to match to the specific field. | |
Inverts the effect of a query expression and returns documents that do not match the query expression. | |
Use to join query clauses with a logical | |
Use to join query clauses with a logical | |
Use to match documents that have the specified field. | |
Use to select documents if a field is of the specified type. | |
Use this operator to select documents if a property has an array as a value. Within Builder the List type will return an array, the values of which can be operated on by | |
Use to select documents where values match a specified regular expression. | |
Use to specify options to use with For more detail about available options, refer to the MongoDB |
Descriptions for the above operators adapted from MongoDB per the Creative Commons License as referenced on the MongoDB Documentation GitHub repo. For more in-depth information on the query operators above, see MongoDB's documentation on Query and Projection Operators.
For more information on querying, see the Content API documentation.