MCPcopy Index your code
hub / github.com/PyMySQL/PyMySQL / _nextset

Method _nextset

pymysql/cursors.py:89–101  ·  view source on GitHub ↗

Get the next query set.

(self, unbuffered=False)

Source from the content-addressed store, hash-verified

87 """Does nothing, required by DB API."""
88
89 def _nextset(self, unbuffered=False):
90 """Get the next query set."""
91 conn = self._get_db()
92 current_result = self._result
93 if current_result is None or current_result is not conn._result:
94 return None
95 if not current_result.has_next:
96 return None
97 self._result = None
98 self._clear_result()
99 conn.next_result(unbuffered=unbuffered)
100 self._do_get_result()
101 return True
102
103 def nextset(self):
104 return self._nextset(False)

Callers 2

nextsetMethod · 0.95
nextsetMethod · 0.80

Calls 4

_get_dbMethod · 0.95
_clear_resultMethod · 0.95
_do_get_resultMethod · 0.95
next_resultMethod · 0.80

Tested by

no test coverage detected