Versions in this module Expand all Collapse all v0 v0.1.1 Jul 14, 2024 v0.1.0 Jul 13, 2024 Changes in this version + type Pool struct + func NewPool(pool *pgxpool.Pool) *Pool + func (p Pool) Begin(ctx context.Context) (pgx.Tx, error) + func (p Pool) CopyFrom(ctx context.Context, tableName pgx.Identifier, columnNames []string, ...) (int64, error) + func (p Pool) Exec(ctx context.Context, sql string, args ...any) (commandTag pgconn.CommandTag, err error) + func (p Pool) Query(ctx context.Context, sql string, args ...any) (pgx.Rows, error) + func (p Pool) QueryRow(ctx context.Context, sql string, args ...any) pgx.Row + func (p Pool) SendBatch(ctx context.Context, b *pgx.Batch) pgx.BatchResults + func (p Pool) TxFunc(ctx context.Context, f func(context.Context, pgx.Tx) error) (err error)