mongodb query document array of object code example
Example: find object in array mongodb
db.users.findOne({"_id": id},{awards: {$elemMatch: {award:'Turing Award', year:1977}}})
db.users.findOne({"_id": id},{awards: {$elemMatch: {award:'Turing Award', year:1977}}})