MCPcopy
hub / github.com/go-gorm/gorm / BeginTx

Method BeginTx

interfaces.go:49–49  ·  view source on GitHub ↗
(ctx context.Context, opts *sql.TxOptions)

Source from the content-addressed store, hash-verified

47// TxBeginner tx beginner
48type TxBeginner interface {
49 BeginTx(ctx context.Context, opts *sql.TxOptions) (*sql.Tx, error)
50}
51
52// ConnPoolBeginner conn pool beginner

Callers 3

BeginTxMethod · 0.65
BeginMethod · 0.65
BeginTxMethod · 0.65

Implementers 2

PreparedStmtDBprepare_stmt.go
wrapperConnPooltests/connpool_test.go

Calls

no outgoing calls

Tested by 1

BeginTxMethod · 0.52