Fetches a single row from the cursor. None indicates that no more rows are available.
(self)
| 367 | self._result = None |
| 368 | |
| 369 | def fetchone(self): |
| 370 | """Fetches a single row from the cursor. None indicates that |
| 371 | no more rows are available.""" |
| 372 | self._check_executed() |
| 373 | if self.rownumber >= len(self._rows): |
| 374 | return None |
| 375 | result = self._rows[self.rownumber] |
| 376 | self.rownumber = self.rownumber + 1 |
| 377 | return result |
| 378 | |
| 379 | def fetchmany(self, size=None): |
| 380 | """Fetch up to size rows from the cursor. Result set may be smaller |
nothing calls this directly
no test coverage detected