MCPcopy Index your code
hub / github.com/davispuh/MySQL-for-Python-3 / _get_db

Method _get_db

MySQLdb/cursors.py:152–155  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

150 """Does nothing, required by DB API."""
151
152 def _get_db(self):
153 if self.connection is None or not dir(self.connection):
154 self.errorhandler(self, ProgrammingError, "cursor closed")
155 return self.connection
156
157 def execute(self, query, args=None):
158

Callers 9

_warning_checkMethod · 0.95
nextsetMethod · 0.95
_do_get_resultMethod · 0.95
executeMethod · 0.95
executemanyMethod · 0.95
callprocMethod · 0.95
_do_queryMethod · 0.95
_get_resultMethod · 0.80
_get_resultMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected