не в mongodb
-- Syntax: { field: { $nin: [ <value1>, <value2> ... <valueN> ] } }
db.inventory.find( { quantity: { $nin: [ 5, 15 ] } }, { _id: 0 } )
Tiny Coders
-- Syntax: { field: { $nin: [ <value1>, <value2> ... <valueN> ] } }
db.inventory.find( { quantity: { $nin: [ 5, 15 ] } }, { _id: 0 } )