boot static method

void boot()
override

Implementation

static void boot() {
  if (_boot) return;
  _boot = true;

  DBSQLAdapter.boot();

  Transaction.registerErrorFilter((e, s) => e is MySqlException);

  DBSQLAdapter.registerAdapter([
    'sql.mysql',
    'mysql',
  ], DBMySQLAdapter, _instantiate);
}