feat(metadata): persist and lazy-load table structure metadata

This commit is contained in:
yanguibao1997 authored and GitHub committed 2026-07-31 16:27:37 +08:00
1 parent 584848f732
commit 7be11f54c9
15 files changed
+747 -89

No files matched your search

+1
View File
@@ -1510,6 +1510,7 @@ async function onOpenObjectSource(table: SqlObjectNavigationTarget, initialEditi
function onQueryEditorObjectSourceSaved() {
const target = queryEditorObjectSourceTarget.value;
if (!target) return;
connectionStore.invalidateMetadataCache(target.connectionId, target.database, target.schema, target.name);
connectionStore.invalidateCompletionCache(target.connectionId, target.database);
contentAreaRef.value?.refreshQueryEditorCompletionCache();
}