Q

Logical Operators



Operator Description q
$or All documents that match the conditions of either clause {$or: [{name: {$regex: 'LD50'}}, {name: {$regex: 'LC50'}}]}
$and All documents that match the conditions of both clauses {$and: [{"tags.tag.name": "GHS - Standardized View (SV)"}, {"tags.tag.name": "China"}]}
$not All documents that do not match the query expression {"tags.tag.name": {$not: {$eq: "SDS Relevant"}}}
$nor All documents that fail to match both clauses {$nor: [{"tags.tag.name": "GHS - Standardized View (SV)"}, {"tags.tag.name": "China"}]}