DocumentDB LogoDocumentDB
HomeGitHubDiscordDocsPackagesBlogs
Back to DocumentationMQL Documentation
Commands
Aggregation
Query And Write
Operators
Accumulators
Aggregation
Arithmetic Expression
Array Expression
Array Query
Array Update
Bitwise
Bitwise Query
Bitwise Update
Comparison Query
Conditional Expression
Data Size
Date Expression
Element Query
Evaluation Query
$expr
$jsonSchema
$mod
$regex
$text
Field Update
Geospatial
Literal Expression
Logical Query
Miscellaneous
Miscellaneous Query
Object Expression
Projection
Set Expression
Timestamp Expression
Variable Expression
Window Operators
Reference/Operators/Evaluation Query

MongoDB Query Language (MQL) Evaluation Query Operators

Evaluation query operators are used to evaluate expressions and conditions within your queries. They help you filter documents based on specific criteria, allowing for more precise and dynamic querying capabilities.

$expr

The $expr operator allows the use of aggregation expressions within the query language, enabling complex field comparisons and calculations.

$jsonSchema

The $jsonSchema operator validates documents against a JSON Schema definition for data validation and structure enforcement. Discover supported features and limitations.

$mod

The $mod operator performs a modulo operation on the value of a field and selects documents with a specified result.

$regex

The $regex operator provides regular expression capabilities for pattern matching in queries, allowing flexible string matching and searching.

$text

The $text operator performs text search on the content of indexed string fields, enabling full-text search capabilities.

Copyright © DocumentDB a Series of LF Projects, LLC. For web site terms of use, trademark policy and other project policies please see https://lfprojects.org.