You can use the $nin operator:
db.rest.find({ borough : {$nin : ["Brooklyn", "Queens", "Staten Island"]}});
Ref: https://docs.mongodb.com/manual/reference/operator/query/nin/
You can use the $nin operator:
db.rest.find({ borough : {$nin : ["Brooklyn", "Queens", "Staten Island"]}});
Ref: https://docs.mongodb.com/manual/reference/operator/query/nin/