fix(export): align row limits and progress

This commit is contained in:
t8y2 committed 2026-06-25 17:01:32 +08:00
1 parent c2aeaaa8f7
commit 42541d1146
15 files changed
+419 -42

No files matched your search

@@ -838,6 +838,7 @@ async function exportTableData(row: ObjectBrowserRow, format: "csv" | "xlsx") {
task = addExportTask(row.name, format, filePath);
const currentTask = task;
const rowLimit = settingsStore.editorSettings.exportRowLimitEnabled ? settingsStore.editorSettings.exportRowLimit : null;
const request: api.TableExportRequest = {
exportId: currentTask.exportId,
connectionId: props.connection.id,
@@ -848,6 +849,7 @@ async function exportTableData(row: ObjectBrowserRow, format: "csv" | "xlsx") {
format,
columns: queryColumns,
batchSize: settingsStore.editorSettings.exportBatchSize,
rowLimit,
};
const terminalProgress = await api.startTableExport(request, (progress) => {