feat: add ping

This commit is contained in:
Siwoo Jeon 2023-11-30 08:37:38 +09:00
parent e8dcfef00f
commit e217fb29fc
Signed by: migan
GPG key ID: C4151385FFD2082A

View file

@ -20,6 +20,10 @@ export class MaaDatabase {
public get learn() { public get learn() {
return new LearnTable(this._database) return new LearnTable(this._database)
} }
public async ping() {
await this._database.ping()
}
} }
const database = createPool({ const database = createPool({