(
self, result: CursorResult[Any], dbapi_cursor: DBAPICursor
)
| 1467 | return res |
| 1468 | |
| 1469 | def fetchall( |
| 1470 | self, result: CursorResult[Any], dbapi_cursor: DBAPICursor |
| 1471 | ) -> Any: |
| 1472 | try: |
| 1473 | ret = list(self._rowbuffer) + list(dbapi_cursor.fetchall()) |
| 1474 | self._rowbuffer.clear() |
| 1475 | result._soft_close() |
| 1476 | return ret |
| 1477 | except BaseException as e: |
| 1478 | self.handle_exception(result, dbapi_cursor, e) |
| 1479 | |
| 1480 | |
| 1481 | class FullyBufferedCursorFetchStrategy(CursorFetchStrategy): |
no test coverage detected