This commit is contained in:
Jan Prochazka
2021-03-27 16:04:12 +01:00
parent 11985004b5
commit bbc50ea3fb
3 changed files with 11 additions and 5 deletions

View File

@@ -69,6 +69,7 @@ export function createBulkInsertStreamBase(driver, stream, pool, name, options):
}
dmp.putRaw(';');
// require('fs').writeFileSync('/home/jena/test.sql', dmp.s);
// console.log(dmp.s);
await driver.query(pool, dmp.s);
};