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