Tx is an sqlx wrapper around sql.Tx with extra functionality
| 389 | |
| 390 | // Tx is an sqlx wrapper around sql.Tx with extra functionality |
| 391 | type Tx struct { |
| 392 | *sql.Tx |
| 393 | driverName string |
| 394 | unsafe bool |
| 395 | Mapper *reflectx.Mapper |
| 396 | } |
| 397 | |
| 398 | // DriverName returns the driverName used by the DB which began this transaction. |
| 399 | func (tx *Tx) DriverName() string { |
nothing calls this directly
no outgoing calls
no test coverage detected