SQL_TConnect

Last Updated2014-12-15
Created At2007-07-13

Connects to a database via a thread. This can be used instead of SQL_Connect() if you wish for non-blocking functionality. It is not necessary to use this to use threaded queries. However, if you don't (or you mix threaded/non-threaded queries), you should see SQL_LockDatabase().

native void SQL_TConnect(SQLTCallback callback, const char[] name = "default", any data = 0)

Parameters

SQLTCallback callback
Callback; new Handle will be in hndl, owner is the driver. If no driver was found, the owner is INVALID_HANDLE.
const char[] name
Database name.
any data
Extra data value to pass to the callback.

Return Value

void