Database.Connect Method

Connects to a database asynchronously, so the game thread is not blocked.

void Connect(SQLConnectCallback callback, const char[] name, any data)

Parameters

SQLConnectCallback callback

Callback. If no driver was found, the owner is null.

const char[] name

Database configuration name.

any data

Extra data value to pass to the callback.