@@ -56,18 +56,18 @@ A Note About ``_id``
5656Each document in a MongoDB collection has a unique and immutable ``_id``
5757field. You cannot use update and replace operations to change the
5858``_id`` field. If you attempt to change this field, the update and
59- replace methods return a `WriteError <{+godocs +}/mongo#WriteError>`__.
59+ replace methods return a `WriteError <{+api +}/mongo#WriteError>`__.
6060
6161.. _updateDocuments:
6262
6363Update
6464------
6565
66- Use either `UpdateOne() <{+godocs +}/mongo#Collection.UpdateOne>`__ or
67- `UpdateByID() <{+godocs +}/mongo#Collection.UpdateByID>`__ to update a
66+ Use either `UpdateOne() <{+api +}/mongo#Collection.UpdateOne>`__ or
67+ `UpdateByID() <{+api +}/mongo#Collection.UpdateByID>`__ to update a
6868single document.
6969
70- Use `UpdateMany() <{+godocs +}/mongo#Collection.UpdateMany>`__ to update
70+ Use `UpdateMany() <{+api +}/mongo#Collection.UpdateMany>`__ to update
7171multiple documents.
7272
7373
@@ -101,7 +101,7 @@ Return Values
101101~~~~~~~~~~~~~
102102
103103``UpdateOne()``, ``UpdateByID()``, and ``UpdateMany()`` return an
104- `UpdateResult <{+godocs +}/mongo#UpdateResult>`__ type that
104+ `UpdateResult <{+api +}/mongo#UpdateResult>`__ type that
105105contains information about the update operation if the operation is
106106successful. The ``UpdateResult`` type contains the following properties:
107107
@@ -178,7 +178,7 @@ The following shows the updated document resulting from the preceding update ope
178178Replace
179179-------
180180
181- Use the `ReplaceOne() <{+godocs +}/mongo#Collection.ReplaceOne>`__ method
181+ Use the `ReplaceOne() <{+api +}/mongo#Collection.ReplaceOne>`__ method
182182to replace a single document.
183183
184184Parameters
@@ -195,7 +195,7 @@ documents use the following format:
195195Return Values
196196~~~~~~~~~~~~~
197197
198- ``ReplaceOne()`` returns an `UpdateResult <{+godocs +}/mongo#UpdateResult>`__ type that
198+ ``ReplaceOne()`` returns an `UpdateResult <{+api +}/mongo#UpdateResult>`__ type that
199199contains information about the replace operation if the operation is
200200successful. The ``UpdateResult`` type contains the following properties:
201201
0 commit comments