Gets the [`SqlColumnType`] of the column at `idx`. # Panics Panics if no column exists at `idx`.
(&self, idx: &ColumnIndex)
| 1312 | /// |
| 1313 | /// Panics if no column exists at `idx`. |
| 1314 | pub fn get_type(&self, idx: &ColumnIndex) -> &SqlColumnType { |
| 1315 | let typ_idx = self.metadata.get(idx).expect("should exist").typ_idx; |
| 1316 | &self.typ.column_types[typ_idx] |
| 1317 | } |
| 1318 | |
| 1319 | /// Gets the name of the `i`th column if that column name is unambiguous. |
| 1320 | /// |
no test coverage detected