mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-27 17:16:01 +00:00
postgre, mysql analysers - refactor
This commit is contained in:
@@ -42,8 +42,11 @@ const driver = {
|
||||
},
|
||||
async analyseFull(pool) {
|
||||
const analyser = new MySqlAnalyser(pool, this);
|
||||
await analyser.runAnalysis();
|
||||
return analyser.result;
|
||||
return analyser.fullAnalysis();
|
||||
},
|
||||
async analyseIncremental(pool, structure) {
|
||||
const analyser = new MySqlAnalyser(pool, this);
|
||||
return analyser.incrementalAnalysis(structure);
|
||||
},
|
||||
async listDatabases(connection) {
|
||||
const { rows } = await this.query(connection, "show databases");
|
||||
|
||||
Reference in New Issue
Block a user