Template
single collection
multiple collections
mgodatagen
update
indexe
explain
Stage
Database
bson
mgodatagen
[{"id":1,"instructions":[{"field":"A"},{"field":"B"},{"field":"C"}]}]
Query
db.collection.aggregate([{"$project":{instructions:"$instructions.field"}}])
Result