Fetches a single row from the cursor.
(self)
| 431 | return self._get_db().use_result() |
| 432 | |
| 433 | def fetchone(self): |
| 434 | """Fetches a single row from the cursor.""" |
| 435 | self._check_executed() |
| 436 | r = self._fetch_row(1) |
| 437 | if not r: |
| 438 | return None |
| 439 | self.rownumber = self.rownumber + 1 |
| 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 |