You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/fundamentals/crud/write-operations/modify.txt
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
1
.. _kotlin-fundamentals-change-document:
2
2
3
-
=================
4
-
Change a Document
5
-
=================
3
+
================
4
+
Modify Documents
5
+
================
6
6
7
7
.. contents:: On this page
8
8
:local:
@@ -13,7 +13,7 @@ Change a Document
13
13
Overview
14
14
--------
15
15
16
-
In this guide, you can learn how to change documents in a MongoDB
16
+
In this guide, you can learn how to modify documents in a MongoDB
17
17
collection using two distinct operation types:
18
18
19
19
- :ref:`Update <update-operation>`
@@ -47,7 +47,7 @@ This data is modeled with the following Kotlin data class:
47
47
Update
48
48
------
49
49
50
-
Update operations can change fields and values. They apply changes
50
+
Update operations can modify fields and values. They apply changes
51
51
specified in an update document to one or more documents that match your
52
52
query filter.
53
53
@@ -72,7 +72,7 @@ The ``updateOne()`` and ``updateMany()`` methods both have the following
72
72
parameters:
73
73
74
74
- ``query`` specifies a query filter with the criteria to match documents to update in your collection
75
-
- ``updateDocument`` specifies the fields and values to change in the matching document or documents. For this example, we use the :doc:`Updates builder </fundamentals/builders/updates>` to create the update document.
75
+
- ``updateDocument`` specifies the fields and values to modify in the matching document or documents. For this example, we use the :doc:`Updates builder </fundamentals/builders/updates>` to create the update document.
76
76
77
77
You can create the ``updateDocument`` using an ``Updates`` builder as
0 commit comments