From c0b49b3280c0b7de81baa9988e016cbe825602ed Mon Sep 17 00:00:00 2001 From: Nora Reidy Date: Tue, 5 Sep 2023 11:42:43 -0400 Subject: [PATCH] DOCSP-31824: Update page titles (#774) (cherry picked from commit 9cd60b18a51817c67caf55de400fdf3692424501) --- config/redirects | 1 + source/fundamentals/crud/write-operations.txt | 4 ++-- source/fundamentals/crud/write-operations/delete.txt | 8 +++----- .../{change-a-document.txt => modify.txt} | 10 ++++------ 4 files changed, 10 insertions(+), 13 deletions(-) rename source/fundamentals/crud/write-operations/{change-a-document.txt => modify.txt} (97%) diff --git a/config/redirects b/config/redirects index 830f647ec..5277b27e1 100644 --- a/config/redirects +++ b/config/redirects @@ -21,3 +21,4 @@ raw: ${prefix}/stable -> ${base}/current/ [*-v4.2]: ${prefix}/${version}/fundamentals/utf8-validation/ -> ${base}/${version}/ [*-v5.5]: ${prefix}/${version}/fundamentals/run-command/ -> ${base}/${version}/usage-examples/command/ +[*-master]: ${prefix}/${version}/fundamentals/crud/write-operations/change-a-document/ -> ${base}/${version}/fundamentals/crud/write-operations/modify/ diff --git a/source/fundamentals/crud/write-operations.txt b/source/fundamentals/crud/write-operations.txt index 3d6d02c7b..3263c4a78 100644 --- a/source/fundamentals/crud/write-operations.txt +++ b/source/fundamentals/crud/write-operations.txt @@ -7,7 +7,7 @@ Write Operations - :doc:`/fundamentals/crud/write-operations/insert` - :doc:`/fundamentals/crud/write-operations/pkFactory` - :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` @@ -17,7 +17,7 @@ Write Operations /fundamentals/crud/write-operations/insert /fundamentals/crud/write-operations/pkFactory /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 diff --git a/source/fundamentals/crud/write-operations/delete.txt b/source/fundamentals/crud/write-operations/delete.txt index 5fe4d27cb..ead0ba2d0 100644 --- a/source/fundamentals/crud/write-operations/delete.txt +++ b/source/fundamentals/crud/write-operations/delete.txt @@ -1,10 +1,8 @@ .. _node-fundamentals-delete: -================= -Delete a Document -================= - -.. default-domain:: mongodb +================ +Delete Documents +================ .. contents:: On this page :local: diff --git a/source/fundamentals/crud/write-operations/change-a-document.txt b/source/fundamentals/crud/write-operations/modify.txt similarity index 97% rename from source/fundamentals/crud/write-operations/change-a-document.txt rename to source/fundamentals/crud/write-operations/modify.txt index 05298f6df..bf116ffcc 100644 --- a/source/fundamentals/crud/write-operations/change-a-document.txt +++ b/source/fundamentals/crud/write-operations/modify.txt @@ -1,10 +1,8 @@ .. _node-fundamentals-change-a-document: -================= -Change a Document -================= - -.. default-domain:: mongodb +================ +Modify Documents +================ .. contents:: On this page :local: @@ -15,7 +13,7 @@ Change a Document Overview -------- -You can change documents in a MongoDB collection using either **update** +You can modify documents in a MongoDB collection using either **update** or **replace** operations. Update operations mutate specified fields in one or more documents and leave other fields and values unchanged. Replace operations remove all existing fields in one or more