Comparison Operators

Operator

Description

Example

$eq

Selects documents where the value of the property is equal to the passed in value.

{“c_bpm”: {“$eq”: 70}}

$gt

Selects documents where the value of the property is greater than the passed in value.

{“c_bpm”: {“$gt”: 70}}

$gte

Selects documents where the value of the property is greater than or equal to the passed in value.

{“c_bpm”: {“$gte”: 70}}

$lt

Selects documents where the value of the property is lesser than the passed in value.

{“c_bpm”: {“$lt”: 70}}

$lte

Selects documents where the value of the property is lesser than or equal to the passed in value.

{“c_bpm”: {“$lte”: 70}}

$ne

Selects documents where the value of the property is not equal to the passed in value.

{“c_bpm”: {“$ne”: 70}}

$in

Selects documents where the property matches any of the passed in values.

{“c_bpm”: {“$in”: [65, 66, 67, 68, 69, 70]}}

$nin

Selects documents where the property matches none of the passed in values.

{“c_bpm”: {“$nin”: [65, 66, 67, 68, 69, 70]}}