schemaList moved from dbinfo to separate request

This commit is contained in:
Jan Prochazka
2024-09-19 10:59:09 +02:00
parent e7b4a6ffcc
commit 3e5b45de8f
23 changed files with 96 additions and 100 deletions

View File

@@ -139,7 +139,6 @@ export interface DatabaseInfoObjects {
}
export interface DatabaseInfo extends DatabaseInfoObjects {
schemas?: SchemaInfo[];
engine?: string;
defaultSchema?: string;
}

View File

@@ -11,6 +11,7 @@ import {
FunctionInfo,
TriggerInfo,
CollectionInfo,
SchemaInfo,
} from './dbinfo';
import { FilterBehaviour } from './filter-type';
@@ -230,6 +231,7 @@ export interface EngineDriver extends FilterBehaviourProvider {
): any[];
// adapts table info from different source (import, other database) to be suitable for this database
adaptTableInfo(table: TableInfo): TableInfo;
async listSchemas(pool): SchemaInfo[];
analyserClass?: any;
dumperClass?: any;