Boolean Operators

Operator

Description

Example

$and

Evaluates to true if all conditions in the passed in array evaluate to true.

{“$and”: [“c_active”, “c_fav”][“c_active”, “c_fav”]}

$or

Evaluates to true if any condition in the passed in array evaluate to true.

{“$or”: [“c_active”, “c_fav”][“c_active”, “c_fav”]}

$not

Evaluates to true if the property or expression evaluates to false.

{“$not”: “c_active”}