Comparison Query Operators比较查询运算符
Comparison operators return data based on value comparisons.比较运算符根据值比较返回数据。
Note
For details on a specific operator, including syntax and examples, click on the link to the operator's reference page.有关特定运算符的详细信息,包括语法和示例,请单击该运算符参考页的链接。
For comparison of different BSON type values, see the specified BSON comparison order.有关不同BSON类型值的比较,请参阅指定的BSON比较顺序。
$eq | |
$gt | |
$gte | |
$in | |
$lt | |
$lte | |
$ne | |
$nin |