Callback for receiving asynchronous database query results.
typedef SQLQueryCallback = function void(Database db, DBResultSet results, const char error, any data)
Cloned handle to the database connection.
Result object, or null on failure.
Error string if there was an error. The error could be empty even if an error condition exists, so it is important to check the actual results value instead.
Data passed in via the original threaded invocation.