Versions in this module Expand all Collapse all v1 v1.27.1 May 28, 2024 Changes in this version + type DBTX interface + Exec func(context.Context, string, ...interface{}) (pgconn.CommandTag, error) + Query func(context.Context, string, ...interface{}) (pgx.Rows, error) + QueryRow func(context.Context, string, ...interface{}) pgx.Row + type Jet struct + Age int32 + Color string + ID int32 + Name string + PilotID int32 + type Language struct + ID int32 + Language string + type Pilot struct + ID int32 + Name string + type PilotLanguage struct + LanguageID int32 + PilotID int32 + type Queries struct + func New(db DBTX) *Queries + func (q *Queries) CountPilots(ctx context.Context) (int64, error) + func (q *Queries) DeletePilot(ctx context.Context, id int32) error + func (q *Queries) ListPilots(ctx context.Context) ([]Pilot, error) + func (q *Queries) WithTx(tx pgx.Tx) *Queries