find by query mongo code example Example: find by $in mongo db.persons.find( { name: { $in: [ "John", "David", "Sarah" ] } } )