mongodb mongoose field value not among a set of values code example
Example: mongodb mongoose field value not among a set of values
db.rest.find({ borough : {$nin : ["Brooklyn", "Queens", "Staten Island"]}});
db.rest.find({ borough : {$nin : ["Brooklyn", "Queens", "Staten Island"]}});