int columnIndex(String column) { for (int i = 0; i < columns; i++) { if (columnNames[i] == column) return i; } throw LibPqException("Column ${column} not found!"); }