Commit logs this step and calls the underlying transaction Commit method.
()
| 177 | |
| 178 | // Commit logs this step and calls the underlying transaction Commit method. |
| 179 | func (d *DebugTx) Commit() error { |
| 180 | d.log(d.ctx, fmt.Sprintf("Tx(%s): committed", d.id)) |
| 181 | return d.Tx.Commit() |
| 182 | } |
| 183 | |
| 184 | // Rollback logs this step and calls the underlying transaction Rollback method. |
| 185 | func (d *DebugTx) Rollback() error { |