overrideConnection static method

void overrideConnection(
  1. DBWrapper connection
)

Implementation

static void overrideConnection(DBWrapper connection) {
  _mysql = connection is MySqlConnectionWrapper ? connection : null;
  _pg = connection is PgConnectionWrapper ? connection : null;
  _isConnected = true;
}