generell aliases and small fixes #15

Merged
jusax23 merged 5 commits from dev into main 2023-03-02 14:37:01 +01:00
Showing only changes of commit d51ad10864 - Show all commits

View file

@ -74,6 +74,7 @@ export class DB {
if (!this.connected) throw new Error("Not connected yet!"); if (!this.connected) throw new Error("Not connected yet!");
if (this.type == dbType.mariadb && this.mariaPool) await this.mariaPool.end(); if (this.type == dbType.mariadb && this.mariaPool) await this.mariaPool.end();
//if (this.type == dbType.postgres && this.pgPool) await this.pgPool.end(); //if (this.type == dbType.postgres && this.pgPool) await this.pgPool.end();
this.connected = false;
} }
} }