Skip to content

Commit 93641af

Browse files
committed
update link and implement feedback
1 parent 7f3f6c1 commit 93641af

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

source/fundamentals/transactions.txt

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,8 @@ methods you can use to manage your transaction:
9292
| **Parameter**: ``TransactionBody<T> transactionBody``
9393

9494
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.
9697

9798
Example
9899
-------
@@ -114,8 +115,8 @@ and commit a multi-document insert operation through the following steps:
114115
:end-before: end transaction
115116

116117
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.
119120

120121
Additional Information
121122
----------------------
@@ -131,6 +132,8 @@ To learn more about ACID compliance, see the :website:`What are ACID
131132
Properties in Database Management Systems? </basics/acid-transactions>`
132133
article on the MongoDB website.
133134

135+
.. _api-docs-transaction:
136+
134137
API Documentation
135138
~~~~~~~~~~~~~~~~~
136139

0 commit comments

Comments
 (0)