mirror of
https://github.com/Fabio286/antares.git
synced 2025-06-05 21:59:22 +02:00
fix: unable to export BLOB values from table content o query result
This commit is contained in:
@ -668,15 +668,14 @@ const selectResultset = (index: number) => {
|
||||
const downloadTable = (format: 'csv' | 'json' | 'sql', table: string) => {
|
||||
if (!sortedResults.value) return;
|
||||
|
||||
const rows = JSON.parse(JSON.stringify(sortedResults.value)).map((row: any) => {
|
||||
const rows = sortedResults.value.map((row: any) => {
|
||||
delete row._antares_id;
|
||||
return row;
|
||||
});
|
||||
|
||||
exportRows({
|
||||
type: format,
|
||||
content: rows,
|
||||
fields: fieldsObj.value as {
|
||||
fields: JSON.parse(JSON.stringify(fieldsObj.value)) as {
|
||||
[key: string]: {type: string; datePrecision: number};
|
||||
},
|
||||
client: workspaceClient.value,
|
||||
|
Reference in New Issue
Block a user