how to use $or in mongodb code example Example: find with $or in mongobd db.inventory.find( { $or: [ { quantity: { $lt: 20 } }, { price: 10 } ] } )