DBConnectOptions

Configuration operation to connect to a database.

Members

Variables

backend
DBBackend backend;

Specifies the driver that will be used.

host
FFIString 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
FFIString name;

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

password
FFIString 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
FFIString user;

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

Meta