Projection Operators投影运算符
Projection operators specify the fields returned by an operation.投影运算符指定操作返回的字段。
Note
视图上的find()
operations on views do not support the following Query and Projection Operators operators:find()
操作不支持以下查询和投影运算符:
Note
For details on a specific operator, including syntax and examples, click on the link to the operator's reference page.有关特定运算符的详细信息,包括语法和示例,请单击该运算符参考页的链接。
$ | |
$elemMatch | $elemMatch condition.$elemMatch 条件匹配的第一个元素。 |
$meta | |
$slice |