Tx returns the transaction wrapper (txDriver) to avoid Commit or Rollback calls from the internal builders. Should be called only by the internal builders.
(context.Context)
| 239 | // Tx returns the transaction wrapper (txDriver) to avoid Commit or Rollback calls |
| 240 | // from the internal builders. Should be called only by the internal builders. |
| 241 | func (tx *txDriver) Tx(context.Context) (dialect.Tx, error) { return tx, nil } |
| 242 | |
| 243 | // Dialect returns the dialect of the driver we started the transaction from. |
| 244 | func (tx *txDriver) Dialect() string { return tx.drv.Dialect() } |