mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-23 20:45:59 +00:00
duckdb - removed dummy fast snapshot
This commit is contained in:
@@ -20,7 +20,7 @@ class Analyser extends DatabaseAnalyser {
|
|||||||
this.singleObjectId = pureName;
|
this.singleObjectId = pureName;
|
||||||
}
|
}
|
||||||
|
|
||||||
async _getFastSnapshot() {
|
async _runAnalysis() {
|
||||||
const tablesResult = await this.driver.query(this.dbhan, sql.tables);
|
const tablesResult = await this.driver.query(this.dbhan, sql.tables);
|
||||||
const columnsResult = await this.driver.query(this.dbhan, sql.columns);
|
const columnsResult = await this.driver.query(this.dbhan, sql.columns);
|
||||||
const foreignKeysResult = await this.driver.query(this.dbhan, sql.foreignKeys);
|
const foreignKeysResult = await this.driver.query(this.dbhan, sql.foreignKeys);
|
||||||
@@ -72,11 +72,6 @@ class Analyser extends DatabaseAnalyser {
|
|||||||
views: viewsExtended,
|
views: viewsExtended,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
async _runAnalysis() {
|
|
||||||
const structure = await this._getFastSnapshot();
|
|
||||||
return structure;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = Analyser;
|
module.exports = Analyser;
|
||||||
|
|||||||
Reference in New Issue
Block a user