match any of array 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}}})