Skip to content

Commit e9c8af8

Browse files
committed
NR feedback
1 parent d1667ee commit e9c8af8

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

source/crud/write-operations/modify.txt

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -181,10 +181,10 @@ operation and an update many operation:
181181
:language: none
182182
:visible: false
183183

184-
UpdateOne modified document count: 1
184+
updateOne() modified document count: 1
185185
Upserted ID: null
186186

187-
UpdateMany modified document count: 242
187+
updateMany() modified document count: 242
188188

189189
.. _replace-operation:
190190

@@ -280,8 +280,8 @@ documents match.
280280
see :manual:`Unique Indexes </core/index-unique/>` in the
281281
{+mdb-server+} manual.
282282

283-
ReplaceOne Example: Full File
284-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
283+
Replace One Example: Full File
284+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
285285

286286
.. include:: /includes/crud/example-intro.rst
287287

@@ -297,10 +297,8 @@ The following code is a complete, standalone file that performs a replace one op
297297
:language: none
298298
:visible: false
299299

300-
updateOne() modified document count: 1
301-
Upserted ID: null
302-
303-
updateMany() modified document count: 242
300+
Modified document count: 0
301+
Upserted id: BsonObjectId{ ... }
304302

305303
Additional Information
306304
----------------------

0 commit comments

Comments
 (0)