Documentation ¶
Index ¶
- type 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)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.