mirror of
https://github.com/dbgate/dbgate
synced 2024-11-08 20:56:08 +00:00
20 lines
427 B
JavaScript
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;
|