You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -84,15 +84,15 @@ The First Matching Array Element
84
84
85
85
To update the first array element that matches your query filter, use the
86
86
positional ``$`` operator. The array field must appear as part of your
87
-
query document to use the positional ``$`` operator.
87
+
query filter to use the positional ``$`` operator.
88
88
89
89
Example
90
90
```````
91
91
92
92
The following example performs these actions:
93
93
94
94
- Query for a document with a ``qty`` field containing the value "18"
95
-
- Decrement the first array value that matches the query document by "3" using the ``inc()`` method of the ``Updates`` builder and the positional ``$`` operator
95
+
- Decrement the first array value in the document that matches the query filter by "3"
0 commit comments