Documentation
¶
Index ¶
- type Alpha
- type DBQuerier
- func (q *DBQuerier) Alpha(ctx context.Context) (string, error)
- func (q *DBQuerier) AlphaCompositeArray(ctx context.Context) ([]Alpha, error)
- func (q *DBQuerier) AlphaNested(ctx context.Context) (string, error)
- func (q *DBQuerier) Bravo(ctx context.Context) (string, error)
- func (q *DBQuerier) WithTx(tx pgx.Tx) (*DBQuerier, error)
- type Querier
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Alpha ¶
type Alpha struct {
Key *string `json:"key"`
}
Alpha represents the Postgres composite type "alpha".
type DBQuerier ¶
type DBQuerier struct {
// contains filtered or unexported fields
}
func NewQuerier ¶
func NewQuerier(conn genericConn) *DBQuerier
NewQuerier creates a DBQuerier that implements Querier. conn is typically *pgx.Conn, pgx.Tx, or *pgxpool.Pool.
func (*DBQuerier) AlphaCompositeArray ¶
AlphaCompositeArray implements Querier.AlphaCompositeArray.
func (*DBQuerier) AlphaNested ¶
AlphaNested implements Querier.AlphaNested.
Click to show internal directories.
Click to hide internal directories.