Template
single collection
multiple collections
mgodatagen
update
indexe
explain
Stage
Database
bson
mgodatagen
[{"company":"A","offices":"its_here"},{"company":"B","offices":["here","there"]},{"company":"C","offices":{"location":"somewhere"}}]
Query
db.collection.find({"offices":{"$type":3}})
Result