mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 06:46:00 +00:00
quick export WIP
This commit is contained in:
@@ -43,4 +43,29 @@ const fileFormat = {
|
||||
|
||||
export default {
|
||||
fileFormats: [fileFormat],
|
||||
|
||||
quickExports: [
|
||||
{
|
||||
label: 'CSV file',
|
||||
extension: 'csv',
|
||||
createWriter: (fileName) => ({
|
||||
functionName: 'writer',
|
||||
props: {
|
||||
fileName,
|
||||
delimiter: ',',
|
||||
},
|
||||
}),
|
||||
},
|
||||
{
|
||||
label: 'CSV file (semicolor separated)',
|
||||
extension: 'csv',
|
||||
createWriter: (fileName) => ({
|
||||
functionName: 'writer',
|
||||
props: {
|
||||
fileName,
|
||||
delimiter: ';',
|
||||
},
|
||||
}),
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user