mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 12:35:59 +00:00
sql generator - generates SQL inserts
This commit is contained in:
@@ -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 });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user