mongodb :: MongoMatch :: size
https://docs.mongodb.com/manual/reference/operator/query/size/#op._S_size
$size
matches any array with the number of elements specified by the argument
{ field: { $size: <size> } }
# Array size match
#
# https://docs.mongodb.com/manual/reference/operator/query/size/#op._S_size
#
# `$size` matches any array with the number of elements specified by the argument
#
# ~~~json
# { field: { $size: <size> } }
# ~~~
fun size(field: nullable String, size: Int): MongoMatch do
op("size", field, size)
return self
end
lib/mongodb/queries.nit:335,2--347,4