Template
single collection
multiple collections
mgodatagen
update
indexe
explain
Stage
Database
bson
mgodatagen
[{"key":1,actions:[{status:1},{status:4}]},{"key":2,actions:[]},{key:3},{key:4,actions:[{status:6},{status:7}]},{key:5,actions:{status:4}}]
Query
db.collection.find({"actions.status":{$in:[4,5]}})
Result