Skip to content

Commit cfcf548

Browse files
committed
wip
1 parent c9c9639 commit cfcf548

File tree

1 file changed

+3
-4
lines changed
  • source/fundamentals/crud/write-operations

1 file changed

+3
-4
lines changed

source/fundamentals/crud/write-operations/modify.txt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,8 @@ You can call the ``updateOne()`` and ``updateMany()`` methods on a
5656

5757
.. code-block:: java
5858

59-
collection.updateOne(query, updateDocument);
60-
61-
collection.updateMany(query, updateDocument);
59+
collection.updateOne(<query>, <updateDocument>);
60+
collection.updateMany(<query>, <updateDocument>);
6261

6362
Update Operation Parameters
6463
~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -82,7 +81,7 @@ follows:
8281

8382
.. code-block:: java
8483

85-
Bson updateDocument = Updates.operator(<field>, <value>);
84+
Bson update = Updates.operator(<field>, <value>);
8685

8786
See the MongoDB API documentation for a `complete list of
8887
Updates builders and their usage

0 commit comments

Comments
 (0)