Skip to content
This repository was archived by the owner on Aug 24, 2021. It is now read-only.

Commit 18d6e03

Browse files
author
vagrant
committed
Update docs.
1 parent ce37918 commit 18d6e03

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,10 @@ class User extends Model
6161
## Notices
6262

6363
- Nested transactions are supported.
64-
Registered callbacks are deleted just after a nested transaction
65-
rollback, and nested transaction commits happen only when
66-
the top parent transaction is committed.
64+
Whenever you roll back a nested transaction, all the containing
65+
callbacks will be ignored and deleted immediately. Callbacks
66+
happening inside a nested transaction will be fired whenever the
67+
very very top parent transaction is committed.
6768
- Commit callbacks will not be fired on rollback or exceptions.
6869
- Callbacks are immediately fired if their model's connection
6970
is not inside an active transaction.

0 commit comments

Comments
 (0)