Skip to content

Commit 0bdeb91

Browse files
authored
update DB nested transaction note
1 parent f61e8b3 commit 0bdeb91

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

user_guide_src/source/database/transactions.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,4 +110,7 @@ track of the transaction "depth" and only take action at the outermost layer
110110

111111
.. literalinclude:: transactions/007.php
112112

113-
.. note:: Use this technique carefully in order to keep the commands balanced.
113+
.. note:: In case the structure is far more complex, it's your responsibility
114+
to ensure that the inner transactions can reach the outermost layer again
115+
in order to be fully executed by the database, thus prevents unintended
116+
commits/rollbacks.

0 commit comments

Comments
 (0)