Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions config/redirects
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
define: prefix docs/drivers/kotlin/coroutine
define: base https://www.mongodb.com/${prefix}
define: versions v4.10 master

raw: ${prefix}/ -> ${base}/current/

[*-master]: ${prefix}/${version}/fundamentals/crud/write-operations/change-a-document/ -> ${base}/${version}/fundamentals/crud/write-operations/modify/
4 changes: 2 additions & 2 deletions source/fundamentals/crud/write-operations.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Write Operations

- :doc:`/fundamentals/crud/write-operations/insert`
- :doc:`/fundamentals/crud/write-operations/delete`
- :doc:`/fundamentals/crud/write-operations/change-a-document`
- :doc:`/fundamentals/crud/write-operations/modify`
- :doc:`/fundamentals/crud/write-operations/embedded-arrays`
- :doc:`/fundamentals/crud/write-operations/upsert`
- :doc:`/fundamentals/crud/write-operations/bulk`
Expand All @@ -14,7 +14,7 @@ Write Operations

/fundamentals/crud/write-operations/insert
/fundamentals/crud/write-operations/delete
/fundamentals/crud/write-operations/change-a-document
/fundamentals/crud/write-operations/modify
/fundamentals/crud/write-operations/embedded-arrays
/fundamentals/crud/write-operations/upsert
/fundamentals/crud/write-operations/bulk
6 changes: 3 additions & 3 deletions source/fundamentals/crud/write-operations/delete.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
.. _kotlin-fundamentals-delete:

=================
Delete a Document
=================
================
Delete Documents
================

.. contents:: On this page
:local:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
.. _kotlin-fundamentals-change-document:

=================
Change a Document
=================
================
Modify Documents
================

.. contents:: On this page
:local:
Expand All @@ -13,7 +13,7 @@ Change a Document
Overview
--------

In this guide, you can learn how to change documents in a MongoDB
In this guide, you can learn how to modify documents in a MongoDB
collection using two distinct operation types:

- :ref:`Update <update-operation>`
Expand Down Expand Up @@ -47,7 +47,7 @@ This data is modeled with the following Kotlin data class:
Update
------

Update operations can change fields and values. They apply changes
Update operations can modify fields and values. They apply changes
specified in an update document to one or more documents that match your
query filter.

Expand All @@ -72,7 +72,7 @@ The ``updateOne()`` and ``updateMany()`` methods both have the following
parameters:

- ``query`` specifies a query filter with the criteria to match documents to update in your collection
- ``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.
- ``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.

You can create the ``updateDocument`` using an ``Updates`` builder as
follows:
Expand Down