public function getRowInRowSet(string $columnName, $value, array $rowSet): array
  {
    if (is_array($rowSet))
    {
      foreach ($rowSet as $row)
      {
        if ((string)$row[$columnName]==(string)$value)
        {
          return $row;
        }
      }
    }

    throw new RuntimeException("Value '%s' for column '%s' not found in row set.", $value, $columnName);
  }