MCPcopy Index your code
hub / github.com/davispuh/MySQL-for-Python-3 / fetchall

Method fetchall

MySQLdb/cursors.py:381–389  ·  view source on GitHub ↗

Fetchs all available rows from the cursor.

(self)

Source from the content-addressed store, hash-verified

379 return result
380
381 def fetchall(self):
382 """Fetchs all available rows from the cursor."""
383 self._check_executed()
384 if self.rownumber:
385 result = self._rows[self.rownumber:]
386 else:
387 result = self._rows
388 self.rownumber = len(self._rows)
389 return result
390
391 def scroll(self, value, mode='relative'):
392 """Scroll the cursor in the result set to a new position according

Callers

nothing calls this directly

Calls 1

_check_executedMethod · 0.80

Tested by

no test coverage detected