Edit

Comparison query - operators

Comparison query operators are used to compare values and create boolean expressions.

Description
$cmp The $cmp operator compares two values
$eq The $eq query operator compares the value of a field to a specified value
$gt The $gt query operator retrieves documents where the value of a field is greater than a specified value
$gte The $gte operator retrieves documents where the value of a field is greater than or equal to a specified value
$in The $in operator matches value of a field against an array of specified values
$lt The $lt operator retrieves documents where the value of field is less than a specified value
$lte The $lte operator retrieves documents where the value of a field is less than or equal to a specified value
$ne The $ne operator retrieves documents where the value of a field doesn't equal a specified value
$nin The $nin operator retrieves documents where the value of a field doesn't match a list of values