diff --git a/src/modules/database/database.ts b/src/modules/database/database.ts index 80ba61f..877e204 100644 --- a/src/modules/database/database.ts +++ b/src/modules/database/database.ts @@ -20,6 +20,10 @@ export class MaaDatabase { public get learn() { return new LearnTable(this._database) } + + public async ping() { + await this._database.ping() + } } const database = createPool({