fetching data from inside an array in mongodb code example
Example: fetching data from inside an array in mongodb
db.users.find( { name: "John"}, { items: { $elemMatch: { item_id: "1234" } } })
db.users.find( { name: "John"}, { items: { $elemMatch: { item_id: "1234" } } })