PreupdateHookScope

Scope for use with PreupdateHook.apply.

Properties

Link copied to clipboard
abstract val blobColumnIndex: Int

Returns the index if the column for the blob being written.

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.