fetching an array from MongoDB containing date 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" } } })