Documentation
¶
Index ¶
- func Exec(ctx context.Context, db interface{ ... }, sql string, args ...any) (pgconn.CommandTag, error)
- func NewRunner(db txStarter, o pgx.TxOptions) (runner, error)
- func Query(ctx context.Context, db interface{ ... }, sql string, args ...any) (pgx.Rows, error)
- func QueryRow(ctx context.Context, db interface{ ... }, sql string, args ...any) pgx.Row
- type Pool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Exec ¶
func Exec( ctx context.Context, db interface { Exec(ctx context.Context, sql string, args ...any) (pgconn.CommandTag, error) }, sql string, args ...any, ) (pgconn.CommandTag, error)
Exec is a wrapper around pgx Exec method.
Types ¶
Click to show internal directories.
Click to hide internal directories.