Single query functions
Function
Description
Usage
$eq
Is equal to a given value.
"$eq":[<field_name>,<value>]
$contains
Contains a given value.
"$contains":[<field_name>,<value>]
$neq
Is not equal to a given value.
"$neq":[<field_name>,<value>]
$ncontains
Does not contain a given value.
"$ncontains":[<field_name>,<value>]
$range
Contains value in a given range of values.
"$range":[<field_name>,<lower_value>, <upper_value>,<lower_inclusive>,<upper_inclusive>]
$gt
Is greater than a given value.
"$gt":[<field_name>,<value>]
$gte
Is greater than or equal to a given value.
"$gte":[<field_name>,<value>]
$lt
Is less than a given value.
"$lt":[<field_name>,<value>]
$lte
Is less than or equal to a given value.
"$lte":[<field_name>,<value>]
$eq_any
Is equal to any value in a list of values.
"$eq_any": [
<field_name>, [<value1>, <value2>, ...]
]
$contains_any
Contains any value in a list of values.
"$contains_any":[
<field_name>,[<value1>,<value2>,...]
]
$eq_none
Is not equal to any value in a list of values.
"$eq_none":[
<field_name>,[<value1>,<value2>,...]
]
$contains_none
Does not contain any value in a list of values.
"$contains_none":[
<field_name>,[<value1>,<value2>,...]
]
$eq_all
Equals all values in a list of values.
"$eq_all":[
<field_name>,[<value1>,<value2>,...]
]
$contains_all
Contains all values in a list of values.
"$contains_all":[
<field_name>,[<value1>,<value2>,...]
]
Copy link