Versions in this module Expand all Collapse all v0 v0.0.2 Feb 28, 2025 Changes in this version + type DB interface + Begin func(ctx context.Context, f func(tx pgx.Tx) error) error + CopyFrom func(ctx context.Context, tableName pgx.Identifier, columnNames []string, ...) (int64, error) + 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 + SendBatch func(ctx context.Context, b *pgx.Batch) pgx.BatchResults + func New(ctx context.Context, dsn string, opts ...Options) (DB, error) + type Options func(*pgxpool.Config) + func WithMaxConnIdleTime(t time.Duration) Options + func WithMaxConnLifetime(t time.Duration) Options + func WithMaxConns(n int32) Options + func WithMinConns(n int32) Options Other modules containing this package github.com/catalystgo/bootstrap