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)