Docs HomeMongoDB Manual

Evaluation Query Operators

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.

NameDescription
$exprAllows use of aggregation expressions within the query language.
$jsonSchemaValidate documents against the given JSON Schema.
$modPerforms a modulo operation on the value of a field and selects documents with a specified result.
$regexSelects documents where values match a specified regular expression.
$textPerforms text search.
$whereMatches documents that satisfy a JavaScript expression.