|
What query operators are available?
Evaluation | | $mod, $regex, $where
Example: db.customers.find({address1:/beach/i}) |
|
Geospatial | | $geoWithin, $geoIntersects, $near, $nearSphere
db.collection.find({field:{$op:value}}) |
|
Array | | $all, $elemMatch, $size
db.collection.find({array:{$elemMatch:{value1:1,value2:{$gt:1}}}}); |
More info: docs.mongodb.org/manual/reference/operator/query/
|
|