$in on nested field query mongo code example Example: mongo query nested value db.messages.find( { 'headers.From': "[email protected]" } )