MCPcopy Create free account
hub / github.com/cameri/nostream / rollback

Method rollback

src/database/transaction.ts:29–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27 }
28
29 public async rollback(): Promise<any[]> {
30 if (!this.trx) {
31 throw new Error('Unable to get transaction: transaction not started.')
32 }
33 return this.trx.rollback()
34 }
35}

Callers 2

createInvoiceMethod · 0.95
confirmInvoiceMethod · 0.95

Calls 1

rollbackMethod · 0.65

Tested by

no test coverage detected