()
| 9 | public constructor(private readonly dbClient: DatabaseClient) {} |
| 10 | |
| 11 | public async begin(): Promise<void> { |
| 12 | this.trx = await this.dbClient.transaction(null, { isolationLevel: 'serializable' }) |
| 13 | } |
| 14 | |
| 15 | public get transaction(): DatabaseTransaction { |
| 16 | if (!this.trx) { |
no test coverage detected