Skip to content

Commit 5afe930

Browse files
committed
reference
1 parent 9141e9a commit 5afe930

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

source/write/update.txt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,15 +65,14 @@ Upsert Option
6565
~~~~~~~~~~~~~
6666

6767
The ``upsert`` parameter allows you to use the ``update_one()`` and
68-
``update_many()`` operations to use one method to perform a conditional
69-
operation:
68+
``update_many()`` operations to perform a conditional operation:
7069

7170
- If the specified document exists, the command updates it
7271
- If the specified document does not exist, the command creates a new document
7372
with the specified parameter.
7473

75-
For more information, see the :ref:`<ruby-upsert-example>`
76-
on this page, or the :ref:`<ruby-update-options-table>`.
74+
For more information, see the :ref:`<ruby-upsert-example>` or the :ref:`options
75+
table<ruby-update-options-table>` on this page.
7776

7877
Update One Document Example
7978
~~~~~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)