MCPcopy Create free account
hub / github.com/PyMySQL/PyMySQL / fetchall

Method fetchall

pymysql/cursors.py:457–463  ·  view source on GitHub ↗

Fetch all, as per MySQLdb. Pretty useless for large queries, as it is buffered. See fetchall_unbuffered(), if you want an unbuffered generator version of this method.

(self)

Source from the content-addressed store, hash-verified

455 return row
456
457 def fetchall(self):
458 """
459 Fetch all, as per MySQLdb. Pretty useless for large queries, as
460 it is buffered. See fetchall_unbuffered(), if you want an unbuffered
461 generator version of this method.
462 """
463 return list(self.fetchall_unbuffered())
464
465 def fetchall_unbuffered(self):
466 """

Callers

nothing calls this directly

Calls 1

fetchall_unbufferedMethod · 0.95

Tested by

no test coverage detected