Database.setProfileCallback

Registers a delegate of type ProfileCallbackDelegate as the profile callback.

Any previously set profile or trace callback is released. Pass null to disable the callback.

The string parameter that is passed to the callback is the SQL text of the statement being executed. The time unit is defined in SQLite's documentation as nanoseconds (subject to change, as the functionality is experimental).

struct Database
private public
void
setProfileCallback

See Also

Meta