Skip to content

Commit a829be2

Browse files
committed
RR review
1 parent e402db0 commit a829be2

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

source/crud/update/replace.txt

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.. _golang-replacement-document:
2+
.. _golang-replace:
23

34
=================
45
Replace Documents
@@ -23,7 +24,8 @@ Overview
2324
In this guide, you can learn how to use the {+driver-short+} to perform a replace
2425
operation on a document in a MongoDB collection. A replace operation performs
2526
differently than an update operation. An update operation
26-
modifies only the specified fields in a target document. A replace operation removes all fields in the target document and replaces them with new ones.
27+
modifies only the specified fields in a target document. A replace operation removes
28+
all fields in the target document and replaces them with new ones.
2729

2830
Parameters
2931
----------
@@ -122,4 +124,7 @@ API Documentation
122124
-----------------
123125

124126
To learn more about any of the methods or types discussed in this
125-
guide, see the `ReplaceOne() <{+api+}/mongo#Collection.ReplaceOne>`__ API Documentation.
127+
guide, see the following API Documentation:
128+
129+
- `ReplaceOne() <{+api+}/mongo#Collection.ReplaceOne>`__
130+
- `UpdateResult <{+api+}/mongo#UpdateResult>`__

0 commit comments

Comments
 (0)