File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,8 @@ methods you can use to manage your transaction:
92
92
| **Parameter**: ``TransactionBody<T> transactionBody``
93
93
94
94
A ``ClientSession`` also has methods to retrieve session properties and modify mutable
95
- session properties. View the `API Documentation`_ to learn more about these methods.
95
+ session properties. View the :ref:`API
96
+ documentation <api-docs-transaction>` to learn more about these methods.
96
97
97
98
Example
98
99
-------
@@ -114,8 +115,8 @@ and commit a multi-document insert operation through the following steps:
114
115
:end-before: end transaction
115
116
116
117
If you require more control over your transactions, you can use the ``startTransaction()``
117
- method. This method allows you to explicitly commit or abort the transaction and manually
118
- manage the transaction lifecycle. See `Methods`_.
118
+ method. You can use this method with the ``commitTransaction()`` and ``abortTransaction()``
119
+ methods described in the preceding section to manually manage the transaction lifecycle.
119
120
120
121
Additional Information
121
122
----------------------
@@ -131,6 +132,8 @@ To learn more about ACID compliance, see the :website:`What are ACID
131
132
Properties in Database Management Systems? </basics/acid-transactions>`
132
133
article on the MongoDB website.
133
134
135
+ .. _api-docs-transaction:
136
+
134
137
API Documentation
135
138
~~~~~~~~~~~~~~~~~
136
139
You can’t perform that action at this time.
0 commit comments