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

Method select

middle/data_operation.py:255–263  ·  view source on GitHub ↗
(self, tables:list[str])

Source from the content-addressed store, hash-verified

253 return results
254
255 def select(self, tables:list[str]) -> None:
256 self._create_dbCursor()
257 for tbl in tables.split(','):
258 if self._cursor.check_exists_table(tbl):
259 table = self._cursor.select_table(tbl)
260 self._save_results(tbl, QueryType.TABLES, table)
261 AnsiPrint.printResult(table)
262 else:
263 AnsiPrint.print_locale("table_not_exists",table_name=tbl)
264
265 def close(self):
266 if self._cursor:

Callers 1

do_selectMethod · 0.80

Calls 6

_create_dbCursorMethod · 0.95
_save_resultsMethod · 0.95
select_tableMethod · 0.80
printResultMethod · 0.80
print_localeMethod · 0.80
check_exists_tableMethod · 0.45

Tested by

no test coverage detected