Versions in this module Expand all Collapse all v1 v1.1.0 Jun 23, 2023 Changes in this version + type CreateModelParams struct + Age int32 + Counter int64 + Fax string + Name string + Right bool + Title string + Web string + type DBTX interface + ExecContext func(context.Context, string, ...interface{}) (sql.Result, error) + PrepareContext func(context.Context, string) (*sql.Stmt, error) + QueryContext func(context.Context, string, ...interface{}) (*sql.Rows, error) + QueryRowContext func(context.Context, string, ...interface{}) *sql.Row + type ListModelsParams struct + ID int32 + Limit int32 + type Model struct + Age int32 + Counter int64 + Fax string + ID int32 + Name string + Right bool + Title string + Web string + type Queries struct + func New(db DBTX) *Queries + func (q *Queries) CreateModel(ctx context.Context, arg CreateModelParams) (Model, error) + func (q *Queries) GetModel(ctx context.Context, id int32) (Model, error) + func (q *Queries) ListModels(ctx context.Context, arg ListModelsParams) ([]Model, error) + func (q *Queries) UpdateModel(ctx context.Context, arg UpdateModelParams) error + func (q *Queries) WithTx(tx *sql.Tx) *Queries + type UpdateModelParams struct + Age int32 + Counter int64 + Fax string + ID int32 + Name string + Right bool + Title string + Web string