mysql property

MySqlConnectionWrapper get mysql

Implementation

static MySqlConnectionWrapper get mysql {
  _ensureConnected();
  if (_mysql == null || !_mysql!.isConnected) {
    throw Exception("MySQL not connected or connection lost.");
  }
  return _mysql!;
}