pymongo delete_many where not equal code example Example: mongoose find not equal to db.inventory.find( { qty: { $ne: 20 } } )