commitFilter property

VoidPredicate? get commitFilter
inherited

The VoidPredicate that is used to filter out transactions before commiting.

This is run before every commit, i.e. before the end of an explicit transaction and before the end of an implicit transactions created by an insert / update / delete operation.

If the filter returns false, the commit is converted into a rollback.

The function should not do anything that modifies the database connection, e.g. run SQL statements, prepare statements or step.

See also:

Implementation

VoidPredicate? get commitFilter;
set commitFilter (VoidPredicate? commitFilter)
inherited

Implementation

set commitFilter(VoidPredicate? commitFilter);