MCPcopy Index your code
hub / github.com/apache/devlake / Commit

Method Commit

backend/impls/dalgorm/dalgorm_transaction.go:45–51  ·  view source on GitHub ↗

Commit the transaction

()

Source from the content-addressed store, hash-verified

43
44// Commit the transaction
45func (t *DalgormTransaction) Commit() errors.Error {
46 r := t.db.Commit()
47 if r.Error != nil {
48 return errors.Default.Wrap(r.Error, "failed to commit transaction")
49 }
50 return nil
51}
52
53func (t *DalgormTransaction) LockTables(lockTables dal.LockTables) errors.Error {
54 switch t.Dialect() {

Callers

nothing calls this directly

Calls 2

WrapMethod · 0.80
CommitMethod · 0.65

Tested by

no test coverage detected