For details on specific operator, including syntax and examples, click on the specific operator to go to its reference page.有关特定运算符的详细信息,包括语法和示例,请单击特定运算符以转到其参考页。
$and | AND returns all documents that match the conditions of both clauses.AND 连接查询子句,并返回与两个子句的条件匹配的所有文档。 |
$not | |
$nor | NOR returns all documents that fail to match both clauses.NOR 连接查询子句,并返回与这两个子句不匹配的所有文档。 |
$or | OR returns all documents that match the conditions of either clause.OR 连接查询子句,并返回与任一子句的条件匹配的所有文档。 |