MySQLConnection constructor

MySQLConnection(
  1. DatabaseConfig config
)

Implementation

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