MCPcopy Index your code
hub / github.com/sqlchat/sqlchat / handleSchemaNameSelect

Function handleSchemaNameSelect

src/components/ConnectionSidebar.tsx:189–193  ·  view source on GitHub ↗
(schemaName: string)

Source from the content-addressed store, hash-verified

187 };
188
189 const handleSchemaNameSelect = async (schemaName: string) => {
190 // need to empty selectedTableNameList when schemaName changed. because selectedTableNameList may not exist in new schema.
191 conversationStore.updateSelectedTablesNameList([]);
192 conversationStore.updateSelectedSchemaName(schemaName);
193 };
194
195 return (
196 <>

Callers 1

ConnectionSidebarFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected