Skip to content

Commit

Permalink
DOCSP-31825: Update titles (#283)
Browse files Browse the repository at this point in the history
* DOCSP-31825: updated page titles

* build

* build

* fixing version range

* fixing headers and typos

* redirects typo

(cherry picked from commit bc91936)
(cherry picked from commit c08a707)
  • Loading branch information
norareidy committed Aug 30, 2023
1 parent 8944459 commit 89b33f3
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
4 changes: 3 additions & 1 deletion config/redirects
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,6 @@ raw: ${prefix}/stable -> ${base}/current/

[*-master]: ${prefix}/${version}/fundamentals/crud/read-operations/watch/ -> ${base}/${version}/fundamentals/crud/read-operations/changestream/
[*-master]: ${prefix}/${version}/usage-examples/watch/ -> ${base}/${version}/usage-examples/changestream/
[*-master]: ${prefix}/${version}/fundamentals/crud/run-command/ -> ${base}/${version}/fundamentals/run-command/
[*-master]: ${prefix}/${version}/fundamentals/crud/run-command/ -> ${base}/${version}/fundamentals/run-command/
[*-1.11]: ${prefix}/${version}/fundamentals/logging/ -> ${base}/${version}/
[*-master]: ${prefix}/${version}/fundamentals/crud/write-operations/change-a-document/ -> ${base}/${version}/fundamentals/crud/write-operations/modify/
2 changes: 1 addition & 1 deletion source/fundamentals/crud/write-operations.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,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 @@
.. _golang-delete-guide:

=================
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,8 +1,8 @@
.. _golang-change-document:

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

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

In this guide, you can learn how to change documents in MongoDB using
In this guide, you can learn how to modify documents in MongoDB using
**update** and **replace** operations.

Update operations change the fields that you specify while leaving other
fields and values unchanged. Replace operations remove all existing fields
except for ``_id`` in a document and substitute the deleted fields with
the new fields and values you specify.

In MongoDB, all methods to change documents follow the same pattern:
In MongoDB, all methods to modify documents follow the same pattern:

.. figure:: /includes/figures/change_diagram.png
:alt: Change method signature
Expand All @@ -32,11 +32,11 @@ In MongoDB, all methods to change documents follow the same pattern:

The pattern expects you to:

* Specify a query filter to match one or more documents to change.
* Specify a query filter to match one or more documents to modify.
* Specify the field and value changes.
* Specify options to modify behavior, if needed.

The driver provides the following methods to change documents:
The driver provides the following methods to modify documents:

* ``UpdateByID()``
* ``UpdateOne()``
Expand Down

0 comments on commit 89b33f3

Please sign in to comment.