Docs Home → MongoDB Manual
Projection Operators投影运算符
Note 注意
find()
operations on views do not support the following projection operators:对视图的操作不支持以下投影 运算符:
Note 注意
For details on specific operator, including syntax and examples, click on the specific operator to go to its reference page.有关特定运算符的详细信息,包括语法和示例,请单击特定运算符转到其参考页面。
Name名称 Description描述
$
Projects the first element in an array that matches the query condition.投影数组中与查询条件匹配的第一个元素。
$elemMatch
Projects the first element in an array that matches the specified $elemMatch
condition.投影数组中与指定的$elemMatch
条件匹配的第一个元素。
$meta
Projects the available per-document metadata.投影可用的每个文档元数据。
$slice
Limits the number of elements projected from an array. 限制从数组投影的元素数。 Supports skip and limit slices.支持跳过和限制分片。