feat(export): include query SQL in XLSX
This commit is contained in:
23 files changed
+486
-91
No files matched your search
@@ -72,6 +72,7 @@ interface BuildQueryResultExportRequestOptions {
|
||||
exportId: string;
|
||||
filePath: string;
|
||||
format: "csv" | "xlsx" | "txt";
|
||||
includeSqlSheet?: boolean;
|
||||
}
|
||||
|
||||
type DroppedTableObjectType = "TABLE" | "VIEW" | "MATERIALIZED_VIEW";
|
||||
@@ -3844,6 +3845,7 @@ export const useQueryStore = defineStore("query", () => {
|
||||
useAgentCursor,
|
||||
filePath: options.filePath,
|
||||
format: options.format,
|
||||
includeSqlSheet: options.format === "xlsx" && options.includeSqlSheet === true,
|
||||
pageSize: settings.exportBatchSize,
|
||||
rowLimit,
|
||||
totalRows,
|
||||
|
||||
Reference in new issue
Block a user