PreupdateHookScope

Scope for use with PreupdateHook.apply.

Properties

Link copied to clipboard
abstract val blobColumnIndex: Int

Index of the column being incrementally written to by a ksqlite.kapi.blob.Blob, meaningful only when this hook fired because of that write.

Link copied to clipboard
abstract val count: Int

Number of columns in the row that is being inserted, updated, or deleted.

Link copied to clipboard
abstract val depth: Int

Deepness of the current change within trigger execution.

Functions

Link copied to clipboard
abstract fun newValue(index: Int): ProtectedValue

Returns the value of the column at index of the table row after it is updated.

Link copied to clipboard
abstract fun oldValue(index: Int): ProtectedValue

Returns the value of the column at index of the table row before it is updated.