dbgate/packages/engines/default/DatabaseAnalyser.js
Jan Prochazka b6dea799c1 refactor
2020-02-03 19:52:02 +01:00

20 lines
427 B
JavaScript

class DatabaseAnalyser {
/**
*
* @param {import('@dbgate/types').EngineDriver} driver
*/
constructor(pool, driver) {
this.pool = pool;
this.driver = driver;
this.result = DatabaseAnalyser.createEmptyStructure();
}
async runAnalysis() {}
}
/** @returns {import('@dbgate/types').DatabaseInfo} */
DatabaseAnalyser.createEmptyStructure = () => ({
tables: [],
});
module.exports = DatabaseAnalyser;