We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb8bd8c commit 308855dCopy full SHA for 308855d
source/reference/operator/projection/positional.txt
@@ -17,11 +17,8 @@ Definition
17
18
19
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).
+ ``<array>`` to return the first element that matches the query
+ condition on the array.
25
26
Use :projection:`$` in the :term:`projection` document of the
27
:method:`~db.collection.find()` method or the
0 commit comments