CommitHook

fun interface CommitHook(source)

Callback to use with DatabaseConnection.setCommitHook.

Functions

Link copied to clipboard
abstract fun apply(): Boolean

Called right before a transaction commits. Returns true to convert the commit into a rollback instead, or false to let it proceed normally.