MCPcopy
hub / github.com/jmoiron/sqlx / Tx

Struct Tx

sqlx.go:391–396  ·  view source on GitHub ↗

Tx is an sqlx wrapper around sql.Tx with extra functionality

Source from the content-addressed store, hash-verified

389
390// Tx is an sqlx wrapper around sql.Tx with extra functionality
391type 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.
399func (tx *Tx) DriverName() string {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected