Skip to content

Commit 92f40c5

Browse files
committed
RR review
1 parent 748aba1 commit 92f40c5

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

source/crud/update.txt

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,6 @@ field. You cannot use update operations to change the
6565
``_id`` field. If you attempt to change this field, the update
6666
methods return a ``WriteError``.
6767

68-
Sample Data
69-
~~~~~~~~~~~
70-
71-
72-
7368
.. _golang-update-document:
7469

7570
Parameters
@@ -101,9 +96,10 @@ and descriptions </reference/operator/update-field/>`.
10196
You can use aggregation pipelines made up of a subset of aggregation
10297
stages in update operations. To learn more about
10398
the aggregation stages MongoDB supports in
104-
aggregation pipelines, see our tutorial on performing
105-
:manual:`updates with aggregation pipelines
106-
</tutorial/update-documents-with-aggregation-pipeline/>`.
99+
aggregation pipelines, see the tutorial on performing
100+
:manual:`Updates with Aggregation Pipeline
101+
</tutorial/update-documents-with-aggregation-pipeline/>`
102+
tutorial in the Server Manual.
107103

108104
Return Values
109105
-------------
@@ -137,7 +133,7 @@ the method selects and updates the first matched document. If no
137133
documents match the query filter, the update operation makes no
138134
changes.
139135

140-
See our :ref:`upsert guide <golang-upsert-guide>`
136+
See the :ref:`upsert guide <golang-upsert-guide>`
141137
to learn how to insert a new document if no documents match the query filter.
142138

143139
UpdateOne() Example

0 commit comments

Comments
 (0)