MCPcopy Create free account
hub / github.com/CL-lau/SQL-GPT / update_column_list

Method update_column_list

front/DatabaseManagerGUI.py:54–59  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

52 self.table_listbox.insert(tk.END, table)
53
54 def update_column_list(self):
55 self.column_listbox.delete(0, tk.END)
56 selected_table = self.table_listbox.get(tk.ACTIVE)
57 columns = self.db_manager.get_column_list(self.db_combo.get(), selected_table)
58 for column in columns:
59 self.column_listbox.insert(tk.END, column)
60
61 def execute_query(self):
62 selected_db = self.db_combo.get()

Callers

nothing calls this directly

Calls 2

getMethod · 0.80
get_column_listMethod · 0.80

Tested by

no test coverage detected