Evaluation Query Operators
MongoDB 5.0 is end of life as of October 2024. This version of the documentation is no longer
supported. To upgrade your 5.0 deployment, see the MongoDB 6.0 upgrade procedures.
Evaluation operators return data based on evaluations of either individual fields or the entire collection's documents.
Note
For details on a specific operator, including syntax and examples, click on the link to the operator's reference page.
Name | Description |
---|---|
Allows use of aggregation expressions within the query language. | |
Validate documents against the given JSON Schema. | |
Performs a modulo operation on the value of a field and selects documents with a specified result. | |
Selects documents where values match a specified regular expression. | |
Matches documents that satisfy a JavaScript expression. |