DBConfig constructor
DBConfig({
- required String driver,
- String host = 'localhost',
- int port = 3306,
- String username = 'root',
- String password = '',
- String database = 'vania',
- String? timezone,
- String? filePath,
- bool sslMode = false,
- bool openInMemorySQLite = false,
- String collation = 'utf8mb4_general_ci',
- String? schema,
- bool pool = false,
- int poolSize = 2,
Implementation
DBConfig({
required this.driver,
this.host = 'localhost',
this.port = 3306,
this.username = 'root',
this.password = '',
this.database = 'vania',
this.timezone,
this.filePath,
this.sslMode = false,
this.openInMemorySQLite = false,
this.collation = 'utf8mb4_general_ci',
this.schema,
this.pool = false,
this.poolSize = 2,
});