Template
single collection
multiple collections
mgodatagen
update
indexe
explain
Stage
Database
bson
mgodatagen
[{"offices":[{"city":"Dallas"},{"city":"Jacksonville"}]}]
Query
db.collection.find({"offices":{"$elemMatch":{"city":"Jacksonville"}}})
Result