SYNOPSIS
sql:setTrace(arg)
DESCRIPTION
Enable or disable the SQLITE3 builtin tracing feature. When enabled, SQLITE3 will generate some debug messages about the statements that are executing.
If arg is false, tracing is turned off. The argument true turns tracing to stderr on.
Alternatively, it is possible to pass a function as arg. The function gets a single argument, the text of the trace message.
NOTES
It seems sqlite3 generates trace text only for successful queries. Errors are not logged.