Reputation: 6810
ok I need a quick way to do the following with mongoDB
I was looking to do a query that would search for anything that did NOT have the word Apple in the fruit or veg column in the collection
here etc
{
"fruit":"apple"
},{
"fruit":"orange"
},{
"fruit":"banana"
}
Upvotes: 1
Views: 1953