Operators
$max
The $max operator is used for querying or updating documents.
$max
The $max operator is used for querying or updating documents.
Syntax
{ field: { $max: value } }
Example
{ age: { $max: 20 } }The $max operator is used for querying or updating documents.
The $max operator is used for querying or updating documents.
{ field: { $max: value } }
{ age: { $max: 20 } }