MySQLConnection constructor
MySQLConnection(
- DatabaseConfig config
Implementation
MySQLConnection(this.config) {
if (config.type != DatabaseType.mysql) {
throw ArgumentError('Config must be for MySQL');
}
}