Documentation ¶
Index ¶
- func Exec(q Q, query string, args ...any) error
- func ExecContext(ctx context.Context, q Q, query string, args ...any) error
- func Query[T any](q Q, query string, scanner func(r pgx.Rows, v *T) error, args ...any) ([]T, error)
- func QueryContext[T any](ctx context.Context, q Q, query string, scanner func(r pgx.Rows, v *T) error, ...) ([]T, error)
- func QueryRow(q Q, query string, scanner func(r pgx.Row) error, args ...any) error
- func QueryRowContext(ctx context.Context, q Q, query string, scanner func(r pgx.Row) error, ...) error
- type C
- type P
- type Q
- type T
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func QueryContext ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.