MCPcopy
hub / github.com/PyMySQL/PyMySQL / _get_db

Method _get_db

pymysql/cursors.py:71–74  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

69 self.close()
70
71 def _get_db(self):
72 if not self.connection:
73 raise err.ProgrammingError("Cursor closed")
74 return self.connection
75
76 def _check_executed(self):
77 if not self._executed:

Callers 8

_nextsetMethod · 0.95
mogrifyMethod · 0.95
executemanyMethod · 0.95
_do_execute_manyMethod · 0.95
callprocMethod · 0.95
_queryMethod · 0.95
_do_get_resultMethod · 0.95
_queryMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected