feat(mongodb): add Compass-style collection import/export

This commit is contained in:
onenewcode authored and GitHub committed 2026-09-12 21:59:29 +08:00
1 parent bf4874906c
commit 8ff56b4837
47 files changed
+5626 -52

No files matched your search

@@ -552,6 +552,17 @@ export const useConnectionStore = defineStore("connection", () => {
schema?: string;
tableName?: string;
} | null>(null);
const mongoImportSource = ref<{
connectionId: string;
database: string;
collection: string;
} | null>(null);
const mongoImportCompleted = ref<{
connectionId: string;
database: string;
collection: string;
at: number;
} | null>(null);
const tableDataGenerateSource = ref<{
connectionId: string;
database: string;
@@ -9144,6 +9155,8 @@ export const useConnectionStore = defineStore("connection", () => {
diagramSource,
docsSource,
tableImportSource,
mongoImportSource,
mongoImportCompleted,
tableDataGenerateSource,
fieldLineageSource,
databaseSearchSource,