native Handle:SQL_MakeDbTuple(const host[], const user[], const pass[], const db[], timeout=0);
host | Database host |
user | Database user |
pass | Database password |
db | Database name to use |
timeout | Specifies how long connections should wait before giving up. If <= 0, the default of 60s is used. |
Creates a connection information tuple. This tuple must be passed into connection routines.
Freeing the tuple is not necessary, but is a good idea if you create many of them. You can cache these handles globally.
This does not connect to the DB; it only caches the connection information.
A newly created tuple handle to be used in connection routines.
This documentation was generated automatically using pawn-docgen written by xPaw for AlliedMods.