type github.com/jackc/pgx/v5.Tx
27 uses
github.com/jackc/pgx/v5 (current package)
large_objects.go#L21: tx Tx
large_objects.go#L72: tx Tx
tx.go#L94: func (c *Conn) Begin(ctx context.Context) (Tx, error) {
tx.go#L100: func (c *Conn) BeginTx(ctx context.Context, txOptions TxOptions) (Tx, error) {
tx.go#L122: type Tx interface {
tx.go#L124: Begin(ctx context.Context) (Tx, error)
tx.go#L165: func (tx *dbTx) Begin(ctx context.Context) (Tx, error) {
tx.go#L289: tx Tx
tx.go#L295: func (sp *dbSimulatedNestedTx) Begin(ctx context.Context) (Tx, error) {
tx.go#L394: Begin(ctx context.Context) (Tx, error)
tx.go#L396: fn func(Tx) error,
tx.go#L398: var tx Tx
tx.go#L413: BeginTx(ctx context.Context, txOptions TxOptions) (Tx, error)
tx.go#L416: fn func(Tx) error,
tx.go#L418: var tx Tx
tx.go#L427: func beginFuncExec(ctx context.Context, tx Tx, fn func(Tx) error) (err error) {
github.com/jackc/pgx/v5/pgxpool
conn.go#L107: func (c *Conn) Begin(ctx context.Context) (pgx.Tx, error) {
conn.go#L112: func (c *Conn) BeginTx(ctx context.Context, txOptions pgx.TxOptions) (pgx.Tx, error) {
pool.go#L790: func (p *Pool) Begin(ctx context.Context) (pgx.Tx, error) {
pool.go#L798: func (p *Pool) BeginTx(ctx context.Context, txOptions pgx.TxOptions) (pgx.Tx, error) {
tx.go#L12: t pgx.Tx
tx.go#L17: func (tx *Tx) Begin(ctx context.Context) (pgx.Tx, error) {
go.pact.im/x/pgxprocess
handle.go#L14: Begin(context.Context) (pgx.Tx, error)
handle.go#L15: BeginTx(context.Context, pgx.TxOptions) (pgx.Tx, error)
handle.go#L43: func (h *handle[T, P]) Begin(ctx context.Context) (pgx.Tx, error) {
handle.go#L51: func (h *handle[T, P]) BeginTx(ctx context.Context, txOptions pgx.TxOptions) (pgx.Tx, error) {