Files
Checkmate/server/src/db/db.interface.ts
T

5 lines
145 B
TypeScript
Raw Normal View History

2026-05-26 13:31:13 -07:00
export interface IDb<TConnection = unknown> {
2026-03-05 14:46:28 -08:00
connect(): Promise<void>;
disconnect(): Promise<void>;
2026-05-26 13:31:13 -07:00
getConnection(): Promise<TConnection>;
2026-03-05 14:46:28 -08:00
}