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

Method databases

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

Source from the content-addressed store, hash-verified

174 AnsiPrint.print_locale("errors.tables_zero")
175
176 def databases(self):
177 try:
178 cursor = self._get_cursor()
179 databases = cursor.get_databases()
180 AnsiPrint.printResult(databases)
181 except Exception as e:
182 AnsiPrint.print_error(e)
183
184 def columns(self, tablename:str):
185 result = Result(headers=['Column Name'])

Callers 2

_validate_argumentsMethod · 0.95
do_databasesMethod · 0.80

Calls 4

_get_cursorMethod · 0.95
printResultMethod · 0.80
get_databasesMethod · 0.45
print_errorMethod · 0.45

Tested by

no test coverage detected