diff --git a/config/redirects b/config/redirects index 52d23d228..2a64a0f88 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