Database.setProfileCallback

Registers a delegate of type ProfileCallbackDelegate as the profile callback.

Any previously set profile 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
void
setProfileCallback

See Also

Meta