MCPcopy Index your code
hub / github.com/PyMySQL/mysqlclient / _query

Method _query

src/MySQLdb/cursors.py:325–334  ·  view source on GitHub ↗
(self, q)

Source from the content-addressed store, hash-verified

323 return args
324
325 def _query(self, q):
326 db = self._get_db()
327 self._result = None
328 self.rowcount = None
329 self.lastrowid = None
330 db.query(q)
331 self._do_get_result(db)
332 self._post_get_result()
333 self._executed = q
334 return self.rowcount
335
336 def _fetch_row(self, size=1):
337 if not self._result:

Callers 2

executeMethod · 0.95
callprocMethod · 0.95

Calls 4

_get_dbMethod · 0.95
_do_get_resultMethod · 0.95
_post_get_resultMethod · 0.95
queryMethod · 0.80

Tested by

no test coverage detected