Versions in this module Expand all Collapse all v1 v1.2.1 Sep 21, 2024 Changes in this version + 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 InsertTable01Params struct + Field01 string + Field02 int64 + type Queries struct + func New(db DBTX) *Queries + func (q *Queries) CreateTable01(ctx context.Context) error + func (q *Queries) DeleteTable01(ctx context.Context, field01 string) error + func (q *Queries) DropTable01(ctx context.Context) error + func (q *Queries) GetTable01(ctx context.Context, field01 string) (Table01ForMysql, error) + func (q *Queries) InsertTable01(ctx context.Context, arg InsertTable01Params) (sql.Result, error) + func (q *Queries) ListTable01(ctx context.Context) ([]Table01ForMysql, error) + func (q *Queries) UpdateTable01(ctx context.Context, arg UpdateTable01Params) error + func (q *Queries) WithTx(tx *sql.Tx) *Queries + type Table01ForMysql struct + Field01 string + Field02 int64 + type UpdateTable01Params struct + Field01 string + Field02 int64