Rollback logs this step and calls the underlying transaction Rollback method.
()
| 183 | |
| 184 | // Rollback logs this step and calls the underlying transaction Rollback method. |
| 185 | func (d *DebugTx) Rollback() error { |
| 186 | d.log(d.ctx, fmt.Sprintf("Tx(%s): rollbacked", d.id)) |
| 187 | return d.Tx.Rollback() |
| 188 | } |