Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
6 changes: 2 additions & 4 deletions source/fundamentals/run-command.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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 </blog/post/transactions-background-part-4-the-global-logical-clock>`.
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
19 changes: 8 additions & 11 deletions source/fundamentals/transactions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -95,17 +95,14 @@ these methods:
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.
|
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
Loading