Return all the remaining records from the current result set. :rtype: Sequence[Row], with Row defined by `row_factory`
(self)
| 272 | return records |
| 273 | |
| 274 | def fetchall(self) -> list[Row]: |
| 275 | """ |
| 276 | Return all the remaining records from the current result set. |
| 277 | |
| 278 | :rtype: Sequence[Row], with Row defined by `row_factory` |
| 279 | """ |
| 280 | self._fetch_pipeline() |
| 281 | res = self._check_result_for_fetch() |
| 282 | records = self._tx.load_rows(self._pos, res.ntuples, self._make_row) |
| 283 | self._pos = res.ntuples |
| 284 | return records |
| 285 | |
| 286 | def __iter__(self) -> Self: |
| 287 | return self |