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 58841f6 commit bfebc1fCopy full SHA for bfebc1f
source/reference/operator/query/gte.txt
@@ -89,14 +89,14 @@ Example output:
89
price: 9.99
90
}
91
92
-This :method:`~db.collection.updateOne()` operation searches for an
+This :method:`~db.collection.updateMany()` operation searches for an
93
embedded document, ``carrier``, with a subfield named ``fee``. It sets
94
``{ price: 9.99 }`` in each document where ``fee`` has a value greater
95
than or equal to 2.
96
97
To set the value of the ``price`` field in only the first document
98
where ``carrier.fee`` is greater than 2, use
99
-:method:`~db.collection.updateOne()`.
+:method:`~db.collection.updateMany()`.
100
101
.. seealso::
102
0 commit comments