Versions in this module Expand all Collapse all v0 v0.0.2 Aug 17, 2023 Changes in this version + func CtxWithTransaction(ctx context.Context, tx pgx.Tx) context.Context + type Querier interface + Exec func(ctx context.Context, sql string, arguments ...any) (pgconn.CommandTag, error) + Query func(ctx context.Context, sql string, args ...any) (pgx.Rows, error) + QueryRow func(ctx context.Context, sql string, args ...any) pgx.Row + type TxPool struct + func New(pool *pgxpool.Pool) *TxPool + func (t *TxPool) Exec(ctx context.Context, sql string, args ...any) (pgconn.CommandTag, error) + func (t *TxPool) Pool() *pgxpool.Pool + func (t *TxPool) Querier(ctx context.Context) Querier + func (t *TxPool) Query(ctx context.Context, sql string, optionsAndArgs ...any) (pgx.Rows, error) + func (t *TxPool) QueryRow(ctx context.Context, sql string, optionsAndArgs ...any) pgx.Row + func (t *TxPool) Transaction(ctx context.Context, f func(ctx context.Context) error) (err error) v0.0.1 Aug 17, 2023