mongodb :: MongoMatch :: lnor
nor
https://docs.mongodb.com/manual/reference/operator/query/nor/#op._S_nor
$nor
performs a logical NOR operation on an array of one or more query
expression and selects the documents that fail all the query expressions
in the array.
The $nor has the following syntax:
{ field: { $nor: [ { <expression1> }, { <expression2> }, ... , { <expressionN> } ] } }
# Logical `nor`
#
# https://docs.mongodb.com/manual/reference/operator/query/nor/#op._S_nor
#
# `$nor` performs a logical NOR operation on an array of one or more query
# expression and selects the documents that fail all the query expressions
# in the array.
#
# The $nor has the following syntax:
#
# ~~~json
# { field: { $nor: [ { <expression1> }, { <expression2> }, ... , { <expressionN> } ] } }
# ~~~
fun lnor(field: nullable String, expressions: Array[Serializable]): MongoMatch do
op("nor", field, new JsonArray.from(expressions))
return self
end
lib/mongodb/queries.nit:287,2--303,4