mongodb :: MongoMatch :: all
https://docs.mongodb.com/manual/reference/operator/query/all/#op._S_all
$all
selects the documents where the value of a field is an array that
contains all the specified elements.
{ field: { $all: [ <value1>, <value2>, ... ] } }
# Array contains all
#
# https://docs.mongodb.com/manual/reference/operator/query/all/#op._S_all
#
# `$all` selects the documents where the value of a field is an array that
# contains all the specified elements.
#
# ~~~json
# { field: { $all: [ <value1>, <value2>, ... ] } }
# ~~~
fun all(field: nullable String, values: Array[Serializable]): MongoMatch do
op("all", field, new JsonArray.from(values))
return self
end
lib/mongodb/queries.nit:305,2--318,4