Template
single collection
multiple collections
mgodatagen
update
indexe
explain
Stage
Database
bson
mgodatagen
[{_id:1,data:{extra:123,foo:"bar"}},{_id:2,data:{foo:"bar"}}]
Query
db.collection.find({"data":{"foo":"bar"}})
Result