Skip to content

Commit

Permalink
DOCSP-31823: updated page titles
Browse files Browse the repository at this point in the history
  • Loading branch information
norareidy committed Aug 31, 2023
1 parent e96dd23 commit 815044e
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 17 deletions.
1 change: 1 addition & 0 deletions config/redirects
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ raw: ${prefix}/master -> ${base}/upcoming/
[*-master]: ${prefix}/${version}/fundamentals/versioned-api/ -> ${base}/${version}/fundamentals/stable-api/
[*-v4.6]: ${prefix}/${version}/fundamentals/crud/read-operations/change-streams/ -> ${base}/${version}/fundamentals/crud/read-operations/retrieve/
[*-master]: ${prefix}/${version}/fundamentals/csfle/ -> ${base}/${version}/fundamentals/encrypt-fields/
[*-master]: ${prefix}/${version}/fundamentals/crud/write-operations/change-a-document/ -> ${base}/${version}/fundamentals/crud/write-operations/modify/
6 changes: 2 additions & 4 deletions source/fundamentals/crud/write-operations.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@
Write Operations
================

.. default-domain:: mongodb

- :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 @@ -16,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
8 changes: 3 additions & 5 deletions source/fundamentals/crud/write-operations/delete.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
.. _java-fundamentals-delete:

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

.. default-domain:: mongodb
================
Delete Documents
================

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

=================
Change a Document
=================

.. default-domain:: mongodb
================
Modify Documents
================

.. contents:: On this page
:local:
Expand All @@ -15,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 @@ -44,7 +42,7 @@ current inventory:
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 @@ -69,7 +67,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

0 comments on commit 815044e

Please sign in to comment.