Evaluation Query Operators查询运算符的求值

Note注意

For details on specific operator, including syntax and examples, click on the specific operator to go to its reference page.有关特定运算符的详细信息,包括语法和示例,请单击特定运算符以转到其参考页。

Name名称Description描述
$exprAllows use of aggregation expressions within the query language.允许在查询语言中使用聚合表达式。
$jsonSchemaValidate documents against the given JSON Schema.根据给定的JSON模式验证文档。
$modPerforms a modulo operation on the value of a field and selects documents with a specified result.对字段的值执行模运算,并选择具有指定结果的文档。
$regexSelects documents where values match a specified regular expression.选择值与指定正则表达式匹配的文档。
$textPerforms text search.执行文本搜索。
$whereMatches documents that satisfy a JavaScript expression.匹配满足JavaScript表达式的文档。
←  $type$expr →