Projection Operators

Note

find() operations on views do not supportthe following projectionoperators:

Note

For details on specific operator, including syntax and examples,click on the specific operator to go to its reference page.

NameDescription
$Projects the first element in an array that matches the query condition.
$elemMatchProjects the first element in an array that matches the specified $elemMatch condition.
$metaProjects the document’s score assigned during $text operation.
$sliceLimits the number of elements projected from an array. Supports skip and limit slices.