Skip to content

Commit 116ea5a

Browse files
committed
NR feedback
1 parent 547f54f commit 116ea5a

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

source/crud/update-documents.txt

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -190,10 +190,10 @@ operation and an update many operation:
190190
:language: none
191191
:visible: false
192192

193-
UpdateOne modified document count: 1
193+
updateOne() modified document count: 1
194194
Upserted ID: null
195195

196-
UpdateMany modified document count: 242
196+
updateMany() modified document count: 242
197197

198198
.. _replace-operation:
199199

@@ -289,8 +289,8 @@ documents match.
289289
see :manual:`Unique Indexes </core/index-unique/>` in the
290290
{+mdb-server+} manual.
291291

292-
ReplaceOne Example: Full File
293-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
292+
Replace One Example: Full File
293+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
294294

295295
.. include:: /includes/crud/example-intro.rst
296296

@@ -306,10 +306,8 @@ The following code is a complete, standalone file that performs a replace one op
306306
:language: none
307307
:visible: false
308308

309-
updateOne() modified document count: 1
310-
Upserted ID: null
311-
312-
updateMany() modified document count: 242
309+
Modified document count: 0
310+
Upserted id: BsonObjectId{ ... }
313311

314312
Additional Information
315313
----------------------

0 commit comments

Comments
 (0)