SQLQueryCallback

Last Updated2014-12-15
Created At2014-12-15

Callback for receiving asynchronous database query results.

void (Database db, DBResultSet results, const char[] error, any data)

Parameters

Cloned handle to the database connection.
DBResultSet results
Result object, or null on failure.
const char[] error
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.
any data
Data passed in via the original threaded invocation.

Return Value

void