using GO separator for MS SQL db sync

This commit is contained in:
Jan Prochazka
2021-11-25 17:43:09 +01:00
parent 9dcc235f5a
commit 8fd2c78b6a
5 changed files with 21 additions and 5 deletions

View File

@@ -32,8 +32,8 @@ export const driverBase = {
const analyser = new this.analyserClass(pool, this, version);
return analyser.incrementalAnalysis(structure);
},
createDumper() {
return new this.dumperClass(this);
createDumper(options = null) {
return new this.dumperClass(this, options);
},
async script(pool, sql) {
for (const sqlItem of splitQuery(sql, this.getQuerySplitterOptions('script'))) {