Versions in this module Expand all Collapse all v1 v1.1.0 Jun 26, 2026 v1.0.0 Apr 29, 2026 Changes in this version + func New(dsn string) (*sqlx.DB, error) + func TxFromContext(ctx context.Context) (*sqlx.Tx, bool) + func WithTx(ctx context.Context, tx *sqlx.Tx) context.Context + type Ex struct + func (e *Ex) Exec(ctx context.Context, query string, args ...any) (sql.Result, error) + func (e *Ex) Get(ctx context.Context, dest any, query string, args ...any) error + type Executor interface + ExecContext func(ctx context.Context, query string, args ...any) (sql.Result, error) + GetContext func(ctx context.Context, dest any, query string, args ...any) error + type Querier interface + Exec func(ctx context.Context, query string, args ...any) (sql.Result, error) + Get func(ctx context.Context, dest any, query string, args ...any) error + func NewQuerier(db Executor) Querier