Function Database.setProfileCallback
Registers a delegate of type ProfileCallbackDelegate
as the profile callback.
void setProfileCallback
(
void delegate(string, ulong) profileCallback
);
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).