MCPcopy Create free account
hub / github.com/CloudOrc/SolidUI / get_databases

Method get_databases

solidui/datasource_plugin/base.py:103–106  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

101
102class MySQLClient(BaseJdbcClient):
103 def get_databases(self):
104 cursor = self.conn.cursor()
105 cursor.execute("SHOW DATABASES")
106 return [db[0] for db in cursor]
107
108 def get_tables(self, database):
109 cursor = self.conn.cursor()

Callers 1

queryMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected