mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 06:46:00 +00:00
engines moved to separate library
This commit is contained in:
19
lib/engines/default/DatabaseAnalyser.js
Normal file
19
lib/engines/default/DatabaseAnalyser.js
Normal file
@@ -0,0 +1,19 @@
|
||||
class DatabaseAnalyser {
|
||||
/**
|
||||
*
|
||||
* @param {import('dbgate').EngineDriver} driver
|
||||
*/
|
||||
constructor(pool, driver) {
|
||||
this.pool = pool;
|
||||
this.driver = driver;
|
||||
this.result = DatabaseAnalyser.createEmptyStructure();
|
||||
}
|
||||
async runAnalysis() {}
|
||||
}
|
||||
|
||||
/** @returns {import('dbgate').DatabaseInfo} */
|
||||
DatabaseAnalyser.createEmptyStructure = () => ({
|
||||
tables: [],
|
||||
});
|
||||
|
||||
module.exports = DatabaseAnalyser;
|
||||
Reference in New Issue
Block a user