Template
single collection
multiple collections
mgodatagen
update
indexe
explain
Stage
Database
bson
mgodatagen
[{"field":1,"field2":"A"},{"field":2,"field2":"B"}]
Query
db.collection.find({$or:[{"field":"value"},{"field":"anotherValue"}],$or:[{"field2":"value2"},{"field2":"anotherValue2"}]})
Result