integratyion tests WIP

This commit is contained in:
Jan Prochazka
2021-05-27 09:12:21 +02:00
parent 08fc3ffce4
commit 0413075af6
10 changed files with 1824 additions and 27 deletions

View File

@@ -43,7 +43,8 @@ export interface EngineDriver {
showConnectionTab?: (tab: 'ssl' | 'sshTunnel', values: any) => boolean;
beforeConnectionSave?: (values: any) => any;
databaseUrlPlaceholder?: string;
connect({ server, port, user, password, database }): any;
connect({ server, port, user, password, database }): Promise<any>;
close(pool): Promise<any>;
query(pool: any, sql: string): Promise<QueryResult>;
stream(pool: any, sql: string, options: StreamOptions);
readQuery(pool: any, sql: string, structure?: TableInfo): Promise<stream.Readable>;