feat(search): open database search as a tab

This commit is contained in:
lxk955 authored and GitHub committed 2026-10-02 23:47:55 +08:00
1 parent fdb8e37a48
commit 03fc00c33c
28 files changed
+1062 -367

No files matched your search

@@ -121,11 +121,7 @@ export function useSidebarTreeToolRuntime(options: SidebarTreeToolRuntimeOptions
function openDatabaseSearch() {
const node = activeNode.value;
if (!node.connectionId || !node.database) return;
connectionStore.databaseSearchSource = {
connectionId: node.connectionId,
database: node.database,
schema: node.type === "schema" ? node.schema : undefined,
};
queryStore.openDatabaseSearch(node.connectionId, node.database, node.type === "schema" ? node.schema : undefined);
}
function openDatabaseExport() {