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

Method _query

pymysql/cursors.py:332–337  ·  view source on GitHub ↗
(self, q)

Source from the content-addressed store, hash-verified

330 self.rownumber = r
331
332 def _query(self, q):
333 conn = self._get_db()
334 self._clear_result()
335 conn.query(q)
336 self._do_get_result()
337 return self.rowcount
338
339 def _clear_result(self):
340 self.rownumber = 0

Callers 2

executeMethod · 0.95
callprocMethod · 0.95

Calls 4

_get_dbMethod · 0.95
_clear_resultMethod · 0.95
_do_get_resultMethod · 0.95
queryMethod · 0.80

Tested by

no test coverage detected