Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

mongodb mongoose field value not among a set of values

db.rest.find({ borough : {$nin : ["Brooklyn", "Queens", "Staten Island"]}});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #mongodb #mongoose #field #set #values
ADD COMMENT
Topic
Name
2+3 =