generate shell script

This commit is contained in:
Jan Prochazka
2020-06-06 21:48:29 +02:00
parent f03a8c258a
commit 74aa90fd2a
12 changed files with 430 additions and 32 deletions

View File

@@ -23,3 +23,24 @@ async function run() {
}
dbgateApi.runScript(run);
// dbgateApi.runBatch([
// {
// type: 'copyStream',
// source: {
// type: 'queryReader',
// connection: {
// server: 'localhost',
// engine: 'mysql',
// user: 'root',
// password: 'test',
// port: '3307',
// database: 'Chinook',
// },
// sql: 'SELECT * FROM Genre',
// },
// target: {
// type: 'csvWriter',
// },
// },
// ]);