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

Function createConversation

src/components/ConnectionSidebar.tsx:171–179  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

169 // Note: This function is used to solve issue #95
170 // https://github.com/sqlchat/sqlchat/issues/95
171 const createConversation = () => {
172 if (!currentConversation) {
173 if (!currentConnectionCtx) {
174 conversationStore.createConversation();
175 } else {
176 conversationStore.createConversation(currentConnectionCtx.connection.id, currentConnectionCtx.database?.name);
177 }
178 }
179 };
180
181 const handleTableCheckboxChange = async (tableName: string, value: boolean) => {
182 if (value) {

Callers 1

ConnectionSidebarFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected