File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -65,15 +65,14 @@ Upsert Option
65
65
~~~~~~~~~~~~~
66
66
67
67
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:
70
69
71
70
- If the specified document exists, the command updates it
72
71
- If the specified document does not exist, the command creates a new document
73
72
with the specified parameter.
74
73
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 .
77
76
78
77
Update One Document Example
79
78
~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can’t perform that action at this time.
0 commit comments