mongo find using and code example
Example 1: and operation mongodb find
db.inventory.find( { $and: [ { price: { $ne: 1.99 } }, { price: { $exists: true } } ] } )
Example 2: find by $in mongo
db.persons.find( { name: { $in: [ "John", "David", "Sarah" ] } } )