Fetch up to size rows from the cursor. Result set may be smaller than size. If size is not defined, cursor.arraysize is used.
(self, size=None)
| 440 | return r[0] |
| 441 | |
| 442 | def fetchmany(self, size=None): |
| 443 | """Fetch up to size rows from the cursor. Result set may be smaller |
| 444 | than size. If size is not defined, cursor.arraysize is used.""" |
| 445 | self._check_executed() |
| 446 | r = self._fetch_row(size or self.arraysize) |
| 447 | self.rownumber = self.rownumber + len(r) |
| 448 | return r |
| 449 | |
| 450 | def fetchall(self): |
| 451 | """Fetches all available rows from the cursor.""" |