DBConnectOptions

Configuration operation to connect to a database.

Members

Variables

backend
DBBackend backend;

Specifies the driver that will be used.

host
string host;

Host to connect to. Not used in case of DatabaseBackend.SQLite.

maxConnections
uint maxConnections;

Maximum connections that allowed to be created. Must not be 0.

minConnections
uint minConnections;

Minimal connections to initialize upfront. Must not be 0.

name
string name;

Name of the database, in case of DatabaseBackend.SQLite name of the file.

password
string password;

Password to authenticate with. Not used in case of DatabaseBackend.SQLite.

port
ushort port;

Port to connect to. Not used in case of DatabaseBackend.SQLite.

user
string user;

Username to authenticate with. Not used in case of DatabaseBackend.SQLite.

Meta