feat(export): add all-database export

This commit is contained in:
CSXFanMeng authored and GitHub committed 2026-07-02 21:16:56 +08:00
1 parent f16454a403
commit 82e9df1853
14 files changed
+418 -9

No files matched your search

@@ -57,6 +57,7 @@ const databaseExportPrefillDatabase = ref("");
const databaseExportPrefillSchema = ref("");
const databaseExportPrefillTable = ref("");
const databaseExportPrefillTables = ref<string[]>([]);
const databaseExportAllDatabases = ref(false);
let watchersRegistered = false;
@@ -199,6 +200,7 @@ export function useDialogSources() {
databaseExportPrefillSchema.value = v.schema ?? "";
databaseExportPrefillTable.value = v.tableName ?? "";
databaseExportPrefillTables.value = v.tableNames ?? [];
databaseExportAllDatabases.value = v.allDatabases ?? false;
showDatabaseExportDialog.value = true;
connectionStore.databaseExportSource = null;
}
@@ -328,6 +330,7 @@ export function useDialogSources() {
databaseExportPrefillSchema,
databaseExportPrefillTable,
databaseExportPrefillTables,
databaseExportAllDatabases,
onExportClick,
onExportConfirm,
onImportClick,