File tree 3 files changed +15
-11
lines changed
3 files changed +15
-11
lines changed Original file line number Diff line number Diff line change @@ -111,11 +111,8 @@ following methods:
111
111
* - ``SetLimit()``
112
112
- | The maximum number of documents to return.
113
113
| Default: ``0``
114
-
115
- .. note::
116
-
117
- This option is not available for ``FindOneOptions``. The
118
- ``FindOne()`` method internally uses ``SetLimit(-1)``.
114
+ | This option is not available for ``FindOneOptions``. The
115
+ ``FindOne()`` method internally uses ``SetLimit(-1)``.
119
116
120
117
* - ``SetProjection()``
121
118
- | The fields to include in the returned documents.
Original file line number Diff line number Diff line change @@ -90,12 +90,8 @@ with the following fields:
90
90
91
91
* - ``operationTime``
92
92
- Indicates the logical time of the operation. MongoDB uses the
93
- logical time to order operations.
94
-
95
- .. seealso::
96
-
97
- To learn more about logical time, see our :website:`blog post about
98
- the Global Logical Clock </blog/post/transactions-background-part-4-the-global-logical-clock>`.
93
+ logical time to order operations. To learn more about logical time, see our :website:`blog post about
94
+ the Global Logical Clock </blog/post/transactions-background-part-4-the-global-logical-clock>`.
99
95
100
96
* - ``$clusterTime``
101
97
- Provides a document that returns the signed cluster time. Cluster time is a
Original file line number Diff line number Diff line change @@ -93,6 +93,7 @@ following table describes these methods:
93
93
error if there is no active transaction for the session or if the
94
94
transaction was ended. To learn more about
95
95
this method, see the :manual:`commitTransaction() page
96
+ <<<<<<< HEAD
96
97
</reference/method/Session.commitTransaction/>` in the Server manual.
97
98
98
99
.. note:: Retrying a Transaction
@@ -105,6 +106,16 @@ following table describes these methods:
105
106
``UnknownTransactionCommitResult`` label. If you rerun the
106
107
``CommitTransaction()`` method after receiving this error,
107
108
your data is not changed by the repeat attempts.
109
+ =======
110
+ </reference/method/Session.commitTransaction/>` in the Server manual.
111
+ |
112
+ | The ``CommitTransaction()`` method is an idempotent function, which
113
+ means that you can attempt to commit a transaction multiple times without changing data after the first successful commit.
114
+ A transaction can succeed but return an error with the
115
+ ``UnknownTransactionCommitResult`` label. If you rerun the
116
+ ``CommitTransaction()`` method after receiving this error,
117
+ your data is not changed by the repeat attempts.
118
+ >>>>>>> cb6466d (Docsp 42960 nested components (#387))
108
119
109
120
|
110
121
| **Parameter**: ``Context``
You can’t perform that action at this time.
0 commit comments