mongodb live search in array of objects code example
Example: search inside array with object mongodb
db.users.find({awards: {$elemMatch: {award:'National Medal', year:1975}}})
db.users.find({awards: {$elemMatch: {award:'National Medal', year:1975}}})