Skip to content

Commit 308855d

Browse files
committed
DOCS-14134 fix positional projection array behavior
1 parent fb8bd8c commit 308855d

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

source/reference/operator/projection/positional.txt

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,8 @@ Definition
1717

1818

1919
The positional :projection:`$` operator limits the contents of an
20-
``<array>`` to return either:
21-
22-
- The first element that matches the query condition on the array.
23-
- The first element if no query condition is specified for the
24-
array (Starting in MongoDB 4.4).
20+
``<array>`` to return the first element that matches the query
21+
condition on the array.
2522

2623
Use :projection:`$` in the :term:`projection` document of the
2724
:method:`~db.collection.find()` method or the

0 commit comments

Comments
 (0)