UpdateHook

fun interface UpdateHook(source)

Callback to use with DatabaseConnection.setUpdateHook.

Functions

Link copied to clipboard
abstract fun apply(action: SqliteActionCode.RowChange, databaseName: String, tableName: String, rowid: Long)

Called after a row identified by rowid is inserted, updated or deleted in tableName of databaseName. action identifies the kind of change.