Enumerationgrdb 7.3.0GRDB
DatabaseEventKind
A kind of database event.
@frozen enum DatabaseEventKind
See the observes(eventsOfKind:)
method in the TransactionObserver
protocol for more information.
A kind of database event.
@frozen enum DatabaseEventKind
See the observes(eventsOfKind:)
method in the TransactionObserver
protocol for more information.
import GRDB
A toolkit for SQLite databases, with a focus on application development
func observes(eventsOfKind eventKind: DatabaseEventKind) -> Bool
Returns whether specific kinds of database changes should be notified to the observer.
protocol TransactionObserver : AnyObject
A type that tracks database changes and transactions performed in a database.
case insert(tableName: String)
The insertion of a row in a database table.
case delete(tableName: String)
The deletion of a row in a database table.
case update(tableName: String, columnNames: Set<String>)
The update of a set of columns in a database table.
protocol Sendable
var tableName: String { get }
The name of the impacted database table.