Executes a simple query via a thread. The query Handle is passed through the callback.
The database Handle returned through the callback is always a new Handle, and if necessary, SQL_IsSameConnection() should be used to test against other connections.
The query Handle returned through the callback is temporary and destroyed at the end of the callback. If you need to hold onto it, use CloneHandle().
void SQL_TQuery(Handle database, SQLTCallback callback, const char[] query, any data, DBPriority prio)
A database Handle.
Callback; database is in "owner" and the query Handle is passed in "hndl".
Query string.
Extra data value to pass to the callback.
Priority queue to use.
Invalid database Handle.
This documentation was generated automatically using pawn-docgen written by xPaw for AlliedMods.