return a callable that will retrieve the given keys from a :class:`_engine.Row`.
(self, keys: Sequence[_KeyIndexType])
| 1227 | return self._metadata._getter(key, raiseerr) |
| 1228 | |
| 1229 | def _tuple_getter(self, keys: Sequence[_KeyIndexType]) -> _TupleGetterType: |
| 1230 | """return a callable that will retrieve the given keys from a |
| 1231 | :class:`_engine.Row`. |
| 1232 | |
| 1233 | """ |
| 1234 | if self._source_supports_scalars: |
| 1235 | raise NotImplementedError( |
| 1236 | "can't use this function in 'only scalars' mode" |
| 1237 | ) |
| 1238 | return self._metadata._row_as_tuple_getter(keys) |
| 1239 | |
| 1240 | def mappings(self) -> MappingResult: |
| 1241 | """Apply a mappings filter to returned rows, returning an instance of |
no test coverage detected