We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9c9639 commit cfcf548Copy full SHA for cfcf548
source/fundamentals/crud/write-operations/modify.txt
@@ -56,9 +56,8 @@ You can call the ``updateOne()`` and ``updateMany()`` methods on a
56
57
.. code-block:: java
58
59
- collection.updateOne(query, updateDocument);
60
-
61
- collection.updateMany(query, updateDocument);
+ collection.updateOne(<query>, <updateDocument>);
+ collection.updateMany(<query>, <updateDocument>);
62
63
Update Operation Parameters
64
~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -82,7 +81,7 @@ follows:
82
81
83
84
85
- Bson updateDocument = Updates.operator(<field>, <value>);
+ Bson update = Updates.operator(<field>, <value>);
86
87
See the MongoDB API documentation for a `complete list of
88
Updates builders and their usage
0 commit comments