mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 06:46:00 +00:00
CSV for MS Excel export
This commit is contained in:
@@ -68,5 +68,31 @@ export default {
|
||||
},
|
||||
}),
|
||||
},
|
||||
{
|
||||
label: 'CSV file for MS Excel',
|
||||
extension: 'csv',
|
||||
createWriter: (fileName) => ({
|
||||
functionName: 'writer@dbgate-plugin-csv',
|
||||
props: {
|
||||
fileName,
|
||||
delimiter: ';',
|
||||
recordDelimiter: '\r\n',
|
||||
encoding: 'utf16le',
|
||||
writeSepHeader: true,
|
||||
writeBom: true,
|
||||
},
|
||||
}),
|
||||
},
|
||||
{
|
||||
label: 'TSV file (tab separated)',
|
||||
extension: 'tsv',
|
||||
createWriter: (fileName) => ({
|
||||
functionName: 'writer@dbgate-plugin-csv',
|
||||
props: {
|
||||
fileName,
|
||||
delimiter: '\t',
|
||||
},
|
||||
}),
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user