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

Method fetchall

pymysql/cursors.py:456–462  ·  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

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

Callers

nothing calls this directly

Calls 1

fetchall_unbufferedMethod · 0.95

Tested by

no test coverage detected