mongodb find document by array objectid 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}}})