Query

Last Updated2015-10-30
Created At2014-12-15

Executes a query via a thread. The result handle is passed through the callback. The database handle returned through the callback is always a new Handle, and if necessary, IsSameConnection() should be used to test against other connections. The result handle returned through the callback is temporary and destroyed at the end of the callback.

native void Query(SQLQueryCallback callback, const char[] query, any data = 0, DBPriority prio = DBPrio_Normal)

Parameters

Callback.
const char[] query
Query string.
any data
Extra data value to pass to the callback.
Priority queue to use.

Return Value

void