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