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

Method commit

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

Source from the content-addressed store, hash-verified

20 }
21
22 public async commit(): Promise<any[]> {
23 if (!this.trx) {
24 throw new Error('Unable to get transaction: transaction not started.')
25 }
26 return this.trx.commit()
27 }
28
29 public async rollback(): Promise<any[]> {
30 if (!this.trx) {

Callers 2

createInvoiceMethod · 0.95
confirmInvoiceMethod · 0.95

Calls 1

commitMethod · 0.65

Tested by

no test coverage detected