Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
createInvoice
Method · 0.95
confirmInvoice
Method · 0.95
Calls
1
rollback
Method · 0.65
Tested by
no test coverage detected