         cleanupTransactionObservers()
     }
     
-    /// Transaction hook
     private func didRollback(notifyTransactionObservers: Bool) {
         savepointStack.clear()
         

        }
    }
    
    /// Transaction hook
    func willCommit() throws {
        let eventsBuffer = savepointStack.eventsBuffer
        savepointStack.clear()

    }
    
    func updateStatementWillExecute(_ statement: UpdateStatement) {
        // Grab the transaction observers that are interested in the actions
        // performed by the statement.
        let databaseEventKinds = statement.databaseEventKinds
        activeTransactionObservers = transactionObservers.filter { observer in
            return databaseEventKinds.contains(where: observer.observes)
        }
    }
    
