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

Method _query

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

Source from the content-addressed store, hash-verified

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