Database.setCommitHook

Registers a delegate of type CommitHookDelegate as the database's commit hook. Any previously set hook is released.

struct Database
void
setCommitHook

Parameters

commitHook

A delegate that should return a non-zero value if the operation must be rolled back, or 0 if it can commit. Pass null to disable the callback.

See Also

Meta