mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 13:05:32 +09:00
chore(repo): remove dead code and useless tests (#3375)
This commit is contained in:
1 parent
7e177a1c90
commit
1cd62eb661
1391 files changed
+783
-120415
No files matched your search
@@ -46,7 +46,6 @@ export interface PostgresQueryable {
|
||||
export interface IPostgresClient extends PostgresQueryable {
|
||||
connect(): Promise<void>;
|
||||
shutdown(): Promise<void>;
|
||||
isConnected(): boolean;
|
||||
transaction<T>(fn: (client: PostgresQueryable) => Promise<T>): Promise<T>;
|
||||
kvTable(): string;
|
||||
}
|
||||
@@ -215,10 +214,6 @@ class PostgresClient implements IPostgresClient {
|
||||
await pool.end();
|
||||
}
|
||||
|
||||
isConnected(): boolean {
|
||||
return this.pool !== null && this.disconnection === null;
|
||||
}
|
||||
|
||||
async query<T extends QueryResultRow = QueryResultRow>(
|
||||
text: string,
|
||||
values: Array<unknown> = [],
|
||||
|
||||
Reference in new issue
Block a user