Skip to content

DOCS-14134 fix positional projection array behavior #5028

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 2, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions source/reference/operator/projection/positional.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ Definition


The positional :projection:`$` operator limits the contents of an
``<array>`` from the query results to contain only the **first** element
matching the query document. To specify an array element to update, see the
:doc:`positional $ operator for updates
``<array>`` to return the first element that matches the query
condition on the array. To specify an array element to update, see
the :doc:`positional $ operator for updates
</reference/operator/update/positional>`.

Use :projection:`$` in the :term:`projection` document of the
Expand Down