Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docsp 42960 nested components (#387) #391

Merged
merged 1 commit into from
Oct 4, 2024
Merged
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
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 @@ -93,18 +93,14 @@ following table describes 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
Loading