sql generator - generates SQL inserts

This commit is contained in:
Jan Prochazka
2021-03-27 20:39:27 +01:00
parent 9d84c0f213
commit bb41236a5f
4 changed files with 37 additions and 24 deletions

View File

@@ -100,7 +100,7 @@ async function handleSqlPreview({ msgid, objects, options }) {
const driver = requireEngineDriver(storedConnection);
const dmp = driver.createDumper();
const generator = new SqlGenerator(analysedStructure, options, objects, dmp);
const generator = new SqlGenerator(analysedStructure, options, objects, dmp, driver, systemConnection);
await generator.dump();
process.send({ msgtype: 'response', msgid, sql: dmp.s });
}