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

Method _query

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

Source from the content-addressed store, hash-verified

431 __del__ = close
432
433 def _query(self, q):
434 conn = self._get_db()
435 self._clear_result()
436 conn.query(q, unbuffered=True)
437 self._do_get_result()
438 return self.rowcount
439
440 def nextset(self):
441 return self._nextset(unbuffered=True)

Callers

nothing calls this directly

Calls 4

_get_dbMethod · 0.80
_clear_resultMethod · 0.80
queryMethod · 0.80
_do_get_resultMethod · 0.45

Tested by

no test coverage detected