Versions in this module Expand all Collapse all v1 v1.6.0 Sep 11, 2024 Changes in this version + func Register(ctx context.Context, conn RegisterConn) error + type RegisterConn interface + LoadType func(ctx context.Context, typeName string) (*pgtype.Type, error) + TypeMap func() *pgtype.Map v1.5.0 Apr 17, 2024 Changes in this version + type DBQuerier struct + func NewQuerier(ctx context.Context, conn genericConn) (*DBQuerier, error) + func (q *DBQuerier) FindAuthorByID(ctx context.Context, authorID pgtype.Int4) (FindAuthorByIDRow, error) + func (q *DBQuerier) InsertAuthor(ctx context.Context, firstName pgtype.Text, lastName pgtype.Text) (pgtype.Int4, error) + func (q *DBQuerier) SelectInt4(ctx context.Context) (pgtype.Int4, error) + func (q *DBQuerier) SelectInt8(ctx context.Context) (pgtype.Int8, error) + type FindAuthorByIDRow struct + AuthorID pgtype.Int4 + FirstName pgtype.Text + LastName pgtype.Text + Suffix pgtype.Text + type Querier interface + FindAuthorByID func(ctx context.Context, authorID pgtype.Int4) (FindAuthorByIDRow, error) + InsertAuthor func(ctx context.Context, firstName pgtype.Text, lastName pgtype.Text) (pgtype.Int4, error) + SelectInt4 func(ctx context.Context) (pgtype.Int4, error) + SelectInt8 func(ctx context.Context) (pgtype.Int8, error)