You are viewing an offline version of MongoDB documentation. Some page features might be unavailable. To view the latest version of the page or use interactive features, visit the live page.
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:
Note
For details on a specific operator, including syntax and examples, click on the link to the operator's reference page.
Name | Description |
---|---|
Projects the first element in an array that matches the query condition. | |
Projects the first element in an array that matches the specified | |
Projects the available per-document metadata. | |
Limits the number of elements projected from an array. Supports skip and limit slices. |