MCPcopy
hub / github.com/PyMySQL/PyMySQL / _query

Method _query

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

Source from the content-addressed store, hash-verified

325 self.rownumber = r
326
327 def _query(self, q):
328 conn = self._get_db()
329 self._clear_result()
330 conn.query(q)
331 self._do_get_result()
332 return self.rowcount
333
334 def _clear_result(self):
335 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