Docs Menu

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.
Projects the first element in an array that matches the specified $elemMatch condition.
Projects the available per-document metadata.
Limits the number of elements projected from an array. Supports skip and limit slices.
←  $bitsAnySet$ (projection) →
Give Feedback
© 2022 MongoDB, Inc.

About

  • Careers
  • Investor Relations
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2022 MongoDB, Inc.