Fetch all the rows.
(self)
| 304 | return result |
| 305 | |
| 306 | def fetchall(self): |
| 307 | """Fetch all the rows.""" |
| 308 | self._check_executed() |
| 309 | if self._rows is None: |
| 310 | return [] |
| 311 | if self.rownumber: |
| 312 | result = self._rows[self.rownumber :] |
| 313 | else: |
| 314 | result = self._rows |
| 315 | self.rownumber = len(self._rows) |
| 316 | return result |
| 317 | |
| 318 | def scroll(self, value, mode="relative"): |
| 319 | self._check_executed() |