MCPcopy Create free account
hub / github.com/daniel2005d/mapXplore / _get_cursor

Method _get_cursor

middle/data_operation.py:29–34  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

27 return result
28
29 def _get_cursor(self):
30 db = DbConnector(database=DatabaseSetting().database_name, host=DatabaseSetting().host,
31 username=DatabaseSetting().username, password=DatabaseSetting().password,
32 dbms=DatabaseSetting().dbms)
33
34 return db._createDBEngine()
35
36
37 def _create_dbCursor(self):

Callers 2

_create_dbCursorMethod · 0.95
databasesMethod · 0.95

Calls 3

_createDBEngineMethod · 0.95
DbConnectorClass · 0.90
DatabaseSettingClass · 0.90

Tested by

no test coverage detected