Versions in this module Expand all Collapse all v0 v0.2.0 Mar 6, 2025 v0.1.0 Mar 5, 2025 Changes in this version + var ErrNoRows = sql.ErrNoRows + type Helper struct + DB *sqlx.DB + JobsQ *goqite.Queue + func NewHelper(opts NewHelperOptions) *Helper + func (h *Helper) Connect() error + func (h *Helper) Exec(ctx context.Context, query string, args ...any) error + func (h *Helper) Get(ctx context.Context, dest any, query string, args ...any) error + func (h *Helper) InTransaction(ctx context.Context, callback func(tx *Tx) error) (err error) + func (h *Helper) MigrateDown(ctx context.Context) error + func (h *Helper) MigrateUp(ctx context.Context) error + func (h *Helper) Ping(ctx context.Context) error + func (h *Helper) Select(ctx context.Context, dest any, query string, args ...any) error + type NewHelperOptions struct + Log *slog.Logger + Path string + type Tx struct + Tx *sqlx.Tx + func (t *Tx) Exec(ctx context.Context, query string, args ...any) error + func (t *Tx) Get(ctx context.Context, dest any, query string, args ...any) error + func (t *Tx) Select(ctx context.Context, dest any, query string, args ...any) error