Fetches all available rows from the cursor.
(self)
| 448 | return r |
| 449 | |
| 450 | def fetchall(self): |
| 451 | """Fetches all available rows from the cursor.""" |
| 452 | self._check_executed() |
| 453 | r = self._fetch_row(0) |
| 454 | self.rownumber = self.rownumber + len(r) |
| 455 | return r |
| 456 | |
| 457 | def __iter__(self): |
| 458 | return self |