Skip to content

Commit 9ed4c39

Browse files
vermaslalkay-kim
authored andcommitted
Invalid object format correction
1 parent bd01fdb commit 9ed4c39

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/reference/operator/update/positional-filtered.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Definition
2828
.. code-block:: javascript
2929

3030
{ <update operator>: { "<array>.$[<identifier>]" : value } },
31-
{ arrayFilters: [ { <identifier>: <condition> } } ] }
31+
{ arrayFilters: [ { <identifier>: <condition> } ] }
3232

3333
Use in conjunction with the ``arrayFilters`` option to update all
3434
elements that match the :ref:`3.6-arrayFilters` conditions in the
@@ -39,7 +39,7 @@ Definition
3939
db.collection.updateMany(
4040
{ <query conditions> },
4141
{ <update operator>: { "<array>.$[<identifier>]" : value } },
42-
{ arrayFilters: [ { <identifier>: <condition> } } ] }
42+
{ arrayFilters: [ { <identifier>: <condition> } ] }
4343
)
4444

4545
.. note::

0 commit comments

Comments
 (0)