driver property

DBDriver get driver

Current driver in use.

Implementation

static DBDriver get driver {
  _ensureConnected();
  if (_driver == null) {
    throw Exception("Database not initialized.");
  }
  return _driver!;
}