find field in array of object mongodb 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}}})