From d029ccaaf82c790e15092cc20782e33b038a7130 Mon Sep 17 00:00:00 2001 From: nickldp <135850974+nickldp@users.noreply.github.com> Date: Thu, 15 Jun 2023 15:08:57 -0400 Subject: [PATCH] Docsp 30377 move run command pg (#273) * DOCSP-30377: Move run command page out of CRUD * DOCSP-30377: Move run command page noMongo * DOCSP-30377: Move run out of crud * DOCSP-30377: Move run out of crud * DOCSP-30377: Move run out of crud * DOCSP-30377: Move run out of crud * DOCSP-30377: small fixes * DOCSP-30377: small fixes (cherry picked from commit dbf6540e45d8c0cc0a32a5aa546cada88f190082) --- config/redirects | 1 + source/fundamentals.txt | 3 +-- source/fundamentals/crud.txt | 5 ----- source/fundamentals/{crud => }/run-command.txt | 2 -- source/includes/fundamentals-sections.rst | 1 + 5 files changed, 3 insertions(+), 9 deletions(-) rename source/fundamentals/{crud => }/run-command.txt (99%) diff --git a/config/redirects b/config/redirects index a2e03e24..d366aae1 100644 --- a/config/redirects +++ b/config/redirects @@ -7,3 +7,4 @@ 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/ \ No newline at end of file diff --git a/source/fundamentals.txt b/source/fundamentals.txt index 60d19088..067e6be9 100644 --- a/source/fundamentals.txt +++ b/source/fundamentals.txt @@ -2,8 +2,6 @@ Fundamentals ============ -.. default-domain:: mongodb - .. toctree:: :titlesonly: :maxdepth: 1 @@ -19,6 +17,7 @@ Fundamentals /fundamentals/aggregation /fundamentals/indexes /fundamentals/transactions + /fundamentals/run-command /fundamentals/collations /fundamentals/monitoring /fundamentals/gridfs diff --git a/source/fundamentals/crud.txt b/source/fundamentals/crud.txt index 3fb4555c..b8f0fc90 100644 --- a/source/fundamentals/crud.txt +++ b/source/fundamentals/crud.txt @@ -4,15 +4,12 @@ CRUD Operations =============== -.. default-domain:: mongodb - .. toctree:: :caption: CRUD Operations /fundamentals/crud/read-operations /fundamentals/crud/write-operations /fundamentals/crud/compound-operations - /fundamentals/crud/run-command /fundamentals/crud/write-read-pref CRUD (Create, Read, Update, Delete) operations enable you to work with @@ -26,6 +23,4 @@ data stored in MongoDB. Some operations combine aspects of read and write operations. To learn more about these hybrid methods, see :ref:`golang-compound-operations`. -To run a raw database operation, see :ref:`golang-run-command`. - To learn about how to modify the way your CRUD operations execute, see :ref:`golang-write-read-pref`. \ No newline at end of file diff --git a/source/fundamentals/crud/run-command.txt b/source/fundamentals/run-command.txt similarity index 99% rename from source/fundamentals/crud/run-command.txt rename to source/fundamentals/run-command.txt index ceab2796..7527591f 100644 --- a/source/fundamentals/crud/run-command.txt +++ b/source/fundamentals/run-command.txt @@ -4,8 +4,6 @@ Run a Command ============= -.. default-domain:: mongodb - .. contents:: On this page :local: :backlinks: none diff --git a/source/includes/fundamentals-sections.rst b/source/includes/fundamentals-sections.rst index 21f955c6..a46bd50b 100644 --- a/source/includes/fundamentals-sections.rst +++ b/source/includes/fundamentals-sections.rst @@ -12,6 +12,7 @@ Fundamentals section: - :ref:`Perform Aggregations ` - :ref:`Construct Indexes ` - :ref:`Specify Collations to Order Results ` +- :ref:`Run A Database Command ` - :ref:`Use Driver Events in Your Code ` - :ref:`Store and Retrieve Files in MongoDB ` - :ref:`Use a Time Series Collection `