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

Method nextset

MySQLdb/cursors.py:115–131  ·  view source on GitHub ↗

Advance to the next result set. Returns None if there are no more result sets.

(self)

Source from the content-addressed store, hash-verified

113 warn(self._info, self.Warning, 3)
114
115 def nextset(self):
116 """Advance to the next result set.
117
118 Returns None if there are no more result sets.
119 """
120 if self._executed:
121 self.fetchall()
122 del self.messages[:]
123
124 db = self._get_db()
125 nr = db.next_result()
126 if nr == -1:
127 return None
128 self._do_get_result()
129 self._post_get_result()
130 self._warning_check()
131 return 1
132
133 def _post_get_result(self): pass
134

Callers 5

closeMethod · 0.95
callprocMethod · 0.95
test_nextsetMethod · 0.80
test_nextsetMethod · 0.80

Calls 5

_get_dbMethod · 0.95
_do_get_resultMethod · 0.95
_post_get_resultMethod · 0.95
_warning_checkMethod · 0.95
fetchallMethod · 0.45

Tested by 3

test_nextsetMethod · 0.64
test_nextsetMethod · 0.64