DocumentDB LogoDocumentDB
HomeGitHubDiscordDocsBlogs
Back to DocumentationMQL Documentation
CommandsAggregationQuery And Write
OperatorsAccumulatorAggregationArithmetic ExpressionArray ExpressionArray QueryArray UpdateBitwiseBitwise QueryBitwise UpdateBoolean ExpressionComparison QueryConditional ExpressionData SizeDate ExpressionElement QueryEvaluation QueryField UpdateGeospatialLogical QueryMiscellaneousObject ExpressionProjectionSet ExpressionTimestamp ExpressionVariable ExpressionWindow
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

Allows the use of aggregation expressions within the query language for complex field comparisons and calculations.

$jsonSchema

Validates documents against a JSON Schema specification to ensure data structure and type conformity.

$mod

Performs a modulo operation and matches documents where the field value modulo divisor equals the specified remainder.

$regex

The `$regex` operator is used to perform pattern matching with regular expressions.

$text

Performs full-text search on string content with support for language-specific stemming, case sensitivity, and phrase matching.

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.