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