Simple, self-explanatory code snippets.
db.collection_name.find({
$nor: [
{$and: [
{"field1": "value"},
{"field2.subfield": "value"},
]}
]
});
No comments:
Post a Comment