Database.setCommitHook

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

struct Database
private public
void
setCommitHook

Parameters

commitHook CommitHookDelegate

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