dbgate/packages/engines/default/DatabaseAnalyser.js

20 lines
427 B
JavaScript
Raw Normal View History

class DatabaseAnalyser {
/**
*
2020-02-03 18:52:02 +00:00
* @param {import('@dbgate/types').EngineDriver} driver
*/
constructor(pool, driver) {
this.pool = pool;
this.driver = driver;
2020-01-19 20:01:48 +00:00
this.result = DatabaseAnalyser.createEmptyStructure();
}
2020-01-19 20:01:48 +00:00
async runAnalysis() {}
}
2020-02-03 18:52:02 +00:00
/** @returns {import('@dbgate/types').DatabaseInfo} */
2020-01-19 20:01:48 +00:00
DatabaseAnalyser.createEmptyStructure = () => ({
tables: [],
});
module.exports = DatabaseAnalyser;