type github.com/jackc/pgx/v5.Tx
34 uses
github.com/jackc/pgx/v5 (current package)
batch.go#L137: Tx() Tx
batch.go#L291: func (br *batchResults) Tx() Tx {
batch.go#L498: func (br *pipelineBatchResults) Tx() Tx {
batch.go#L559: func (br *emptyBatchResults) Tx() Tx {
batch.go#L571: func (br *txBatchResults) Tx() Tx {
large_objects.go#L21: tx Tx
large_objects.go#L72: tx Tx
tx.go#L121: func (c *Conn) Begin(ctx context.Context) (Tx, error) {
tx.go#L127: func (c *Conn) BeginTx(ctx context.Context, txOptions TxOptions) (Tx, error) {
tx.go#L160: type Tx interface {
tx.go#L162: Begin(ctx context.Context) (Tx, error)
tx.go#L203: func (tx *dbTx) Begin(ctx context.Context) (Tx, error) {
tx.go#L330: tx Tx
tx.go#L336: func (sp *dbSimulatedNestedTx) Begin(ctx context.Context) (Tx, error) {
tx.go#L435: Begin(ctx context.Context) (Tx, error)
tx.go#L437: fn func(Tx) error,
tx.go#L439: var tx Tx
tx.go#L454: BeginTx(ctx context.Context, txOptions TxOptions) (Tx, error)
tx.go#L457: fn func(Tx) error,
tx.go#L459: var tx Tx
tx.go#L468: func beginFuncExec(ctx context.Context, tx Tx, fn func(Tx) error) (err error) {
github.com/jackc/pgx/v5/pgxpool
batch_results.go#L35: func (br *poolBatchResults) Tx() pgx.Tx {
conn.go#L106: func (c *Conn) Begin(ctx context.Context) (pgx.Tx, error) {
conn.go#L111: func (c *Conn) BeginTx(ctx context.Context, txOptions pgx.TxOptions) (pgx.Tx, error) {
pool.go#L856: func (p *Pool) Begin(ctx context.Context) (pgx.Tx, error) {
pool.go#L864: 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
errors.go#L79: func (errBatchResults) Tx() pgx.Tx {
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) {