From f967ab3abe862bdf822e57db4ab17436f5f93c68 Mon Sep 17 00:00:00 2001 From: caitlindavey Date: Wed, 25 Sep 2024 12:13:49 -0400 Subject: [PATCH 1/4] DOCSP-42960: Removing nested components in go pages --- .../crud/read-operations/retrieve.txt | 7 ++----- source/fundamentals/run-command.txt | 6 ++---- source/fundamentals/transactions.txt | 19 ++++++++----------- 3 files changed, 12 insertions(+), 20 deletions(-) diff --git a/source/fundamentals/crud/read-operations/retrieve.txt b/source/fundamentals/crud/read-operations/retrieve.txt index d18b3832..56f8c94c 100644 --- a/source/fundamentals/crud/read-operations/retrieve.txt +++ b/source/fundamentals/crud/read-operations/retrieve.txt @@ -111,11 +111,8 @@ following methods: * - ``SetLimit()`` - | The maximum number of documents to return. | Default: ``0`` - - .. note:: - - This option is not available for ``FindOneOptions``. The - ``FindOne()`` method internally uses ``SetLimit(-1)``. + This option is not available for ``FindOneOptions``. The + ``FindOne()`` method internally uses ``SetLimit(-1)``. * - ``SetProjection()`` - | The fields to include in the returned documents. diff --git a/source/fundamentals/run-command.txt b/source/fundamentals/run-command.txt index 00f8056c..380f7deb 100644 --- a/source/fundamentals/run-command.txt +++ b/source/fundamentals/run-command.txt @@ -92,10 +92,8 @@ with the following fields: - Indicates the logical time of the operation. MongoDB uses the logical time to order operations. - .. seealso:: - - To learn more about logical time, see our :website:`blog post about - the Global Logical Clock `. + To learn more about logical time, see our :website:`blog post about + the Global Logical Clock `. * - ``$clusterTime`` - Provides a document that returns the signed cluster time. Cluster time is a diff --git a/source/fundamentals/transactions.txt b/source/fundamentals/transactions.txt index 38d79c0d..253ad006 100644 --- a/source/fundamentals/transactions.txt +++ b/source/fundamentals/transactions.txt @@ -95,17 +95,14 @@ these methods: transaction was ended. To learn more about this method, see the :manual:`commitTransaction() page ` in the Server manual. - - .. note:: Retrying a Transaction - - The ``CommitTransaction()`` method is an idempotent function, which - means that you can attempt to commit a transaction multiple times - without changing data after the first successful commit. - - A transaction can succeed but return an error with the - ``UnknownTransactionCommitResult`` label. If you rerun the - ``CommitTransaction()`` method after receiving this error, - your data is not changed by the repeat attempts. + | + The ``CommitTransaction()`` method is an idempotent function, which + means that you can attempt to commit a transaction multiple times + without changing data after the first successful commit. + A transaction can succeed but return an error with the + ``UnknownTransactionCommitResult`` label. If you rerun the + ``CommitTransaction()`` method after receiving this error, + your data is not changed by the repeat attempts. | | **Parameter**: ``Context`` From 5eacc66cd9d52d45a1d6851a66c79f0ee3da63fa Mon Sep 17 00:00:00 2001 From: caitlindavey Date: Wed, 25 Sep 2024 15:48:11 -0400 Subject: [PATCH 2/4] DOCSP-42960: Removing nested components in go pages --- source/fundamentals/run-command.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/source/fundamentals/run-command.txt b/source/fundamentals/run-command.txt index 380f7deb..89f9b055 100644 --- a/source/fundamentals/run-command.txt +++ b/source/fundamentals/run-command.txt @@ -90,9 +90,7 @@ with the following fields: * - ``operationTime`` - Indicates the logical time of the operation. MongoDB uses the - logical time to order operations. - - To learn more about logical time, see our :website:`blog post about + logical time to order operations. To learn more about logical time, see our :website:`blog post about the Global Logical Clock `. * - ``$clusterTime`` From cbcc5808b14e79e9e1fc1721a82a7980ea22ac6a Mon Sep 17 00:00:00 2001 From: caitlindavey Date: Wed, 25 Sep 2024 16:01:35 -0400 Subject: [PATCH 3/4] DOCSP-42960: Removing nested components spacing updates --- source/fundamentals/crud/read-operations/retrieve.txt | 2 +- source/fundamentals/transactions.txt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/source/fundamentals/crud/read-operations/retrieve.txt b/source/fundamentals/crud/read-operations/retrieve.txt index 56f8c94c..f0fe9e30 100644 --- a/source/fundamentals/crud/read-operations/retrieve.txt +++ b/source/fundamentals/crud/read-operations/retrieve.txt @@ -111,7 +111,7 @@ following methods: * - ``SetLimit()`` - | The maximum number of documents to return. | Default: ``0`` - This option is not available for ``FindOneOptions``. The + | This option is not available for ``FindOneOptions``. The ``FindOne()`` method internally uses ``SetLimit(-1)``. * - ``SetProjection()`` diff --git a/source/fundamentals/transactions.txt b/source/fundamentals/transactions.txt index 253ad006..58004180 100644 --- a/source/fundamentals/transactions.txt +++ b/source/fundamentals/transactions.txt @@ -95,8 +95,8 @@ these methods: transaction was ended. To learn more about this method, see the :manual:`commitTransaction() page ` in the Server manual. - | - The ``CommitTransaction()`` method is an idempotent function, which + + | The ``CommitTransaction()`` method is an idempotent function, which means that you can attempt to commit a transaction multiple times without changing data after the first successful commit. A transaction can succeed but return an error with the From 2c559dd311d60b76b8a6675fbf5f906e57b2f8e5 Mon Sep 17 00:00:00 2001 From: caitlindavey Date: Thu, 26 Sep 2024 14:26:57 -0400 Subject: [PATCH 4/4] DOCSP-42960: Removing nested components fixing rst error --- source/fundamentals/transactions.txt | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/source/fundamentals/transactions.txt b/source/fundamentals/transactions.txt index 58004180..48709e20 100644 --- a/source/fundamentals/transactions.txt +++ b/source/fundamentals/transactions.txt @@ -94,12 +94,11 @@ these methods: error if there is no active transaction for the session or if the transaction was ended. To learn more about this method, see the :manual:`commitTransaction() page - ` in the Server manual. - - | The ``CommitTransaction()`` method is an idempotent function, which - means that you can attempt to commit a transaction multiple times - without changing data after the first successful commit. - A transaction can succeed but return an error with the + ` in the Server manual. + | + | The ``CommitTransaction()`` method is an idempotent function, which + means that you can attempt to commit a transaction multiple times without changing data after the first successful commit. + A transaction can succeed but return an error with the ``UnknownTransactionCommitResult`` label. If you rerun the ``CommitTransaction()`` method after receiving this error, your data is not changed by the repeat attempts.