Documentation ¶
Index ¶
- type Client
- type DB
- func (db *DB) Close()
- func (db *DB) ExecContext(ctx context.Context, q Query, args ...any) (pgconn.CommandTag, error)
- func (db *DB) GetContext(ctx context.Context, dest any, q Query, args ...any) error
- func (db *DB) QueryContext(ctx context.Context, q Query, args ...any) (pgx.Rows, error)
- func (db *DB) QueryRowContext(ctx context.Context, q Query, args ...any) pgx.Row
- func (db *DB) SelectContext(ctx context.Context, dest any, q Query, args ...any) error
- type Query
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB struct {
// contains filtered or unexported fields
}
func (*DB) ExecContext ¶
func (*DB) GetContext ¶
func (*DB) QueryContext ¶
func (*DB) QueryRowContext ¶
Click to show internal directories.
Click to hide internal directories.