onTrace property

int Function(SqliteTrace trace) onTrace
final

The function invoked synchronously while the traced statement is running.

It must return 0: sqlite currently ignores the value returned by trace callbacks, but reserves it for future use. Applications must not modify the database from the callback.

Implementation

final int Function(SqliteTrace trace) onTrace;