mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-28 04:24:20 +00:00
Documentation
This commit is contained in:
1 parent
e8b91bf617
commit
63577feca4
1 file changed
+3
@@ -1683,6 +1683,9 @@ extension Database {
|
||||
|
||||
switch transactionState {
|
||||
case .rollback:
|
||||
// Don't notify observers because we're in a failed implicit
|
||||
// transaction here (like an INSERT which fails with
|
||||
// SQLITE_CONSTRAINT error)
|
||||
didRollback(notifyTransactionObservers: false)
|
||||
case .rollbackFromTransactionObserver(let error):
|
||||
didRollback(notifyTransactionObservers: true)
|
||||
|
||||
Reference in new issue
Block a user