Database Manual / Reference / Query Language / Query Predicates

Miscellaneous Query Predicate Operators

The following operators perform specialized functions in query predicates.

NameDescription

$expr

Allows use of expressions in query predicates.

$jsonSchema

Validates documents against the given JSON Schema.

$mod

Matches documents based on the result of a modulo operation on a field value.

$regex

Matches documents where values match a specified regular expression.

$where

Matches documents that satisfy a JavaScript expression.