Navigation
This version of the documentation is archived and no longer supported.
$and (aggregation)
-
$and
Takes an array one or more values and returns true
if all of
the values in the array are true
. Otherwise $and
returns false
.
Note
$and
uses short-circuit logic: the operation
stops evaluation after encountering the first false
expression.