boot static method

void boot()
override

Implementation

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

  DBSQLAdapter.boot();

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

  DBSQLAdapter.registerAdapter([
    'sql.postgres',
    'sql.postgre',
    'sql.postgresql',
    'postgres',
    'postgre',
    'postgresql',
  ], DBPostgreSQLAdapter, _instantiate);
}