Skip to content

Commit

Permalink
Docsp 42960 nested components (#387)
Browse files Browse the repository at this point in the history
* DOCSP-42960: Removing nested components in go pages

* DOCSP-42960: Removing nested components in go pages

* DOCSP-42960: Removing nested components spacing updates

* DOCSP-42960: Removing nested components fixing rst error
  • Loading branch information
caitlindavey authored Sep 27, 2024
1 parent 98fd999 commit cb6466d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 23 deletions.
7 changes: 2 additions & 5 deletions source/fundamentals/crud/read-operations/retrieve.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
8 changes: 2 additions & 6 deletions source/fundamentals/run-command.txt
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,8 @@ with the following fields:

* - ``operationTime``
- 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 </blog/post/transactions-background-part-4-the-global-logical-clock>`.
logical time to order operations. To learn more about logical time, see our :website:`blog post about
the Global Logical Clock </blog/post/transactions-background-part-4-the-global-logical-clock>`.

* - ``$clusterTime``
- Provides a document that returns the signed cluster time. Cluster time is a
Expand Down
20 changes: 8 additions & 12 deletions source/fundamentals/transactions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -94,18 +94,14 @@ 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
</reference/method/Session.commitTransaction/>` 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.
</reference/method/Session.commitTransaction/>` 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.

|
| **Parameter**: ``Context``
Expand Down

0 comments on commit cb6466d

Please sign in to comment.