Versions in this module Expand all Collapse all v0 v0.1.0 Jun 17, 2020 Changes in this version + func Exec(ctx context.Context, e Execer, query string, args ...interface{}) (sql.Result, error) + func Get(ctx context.Context, q Queryer, dest interface{}, query string, ...) error + func MustExec(ctx context.Context, e Execer, query string, args ...interface{}) sql.Result + func NamedExec(ctx context.Context, e Ext, query string, arg interface{}) (sql.Result, error) + func NamedQuery(ctx context.Context, e Ext, query string, arg interface{}) (*sqlx.Rows, error) + func Query(ctx context.Context, q Queryer, query string, args ...interface{}) (*sql.Rows, error) + func QueryRowx(ctx context.Context, q Queryer, query string, args ...interface{}) *sqlx.Row + func Queryx(ctx context.Context, q Queryer, query string, args ...interface{}) (*sqlx.Rows, error) + func Select(ctx context.Context, q Queryer, dest interface{}, query string, ...) error + func Transact(db DB, fn func(tx *sql.Tx) error) (err error) + func TransactContext(ctx context.Context, opts *sql.TxOptions, db DB, ...) (err error) + func TransactContextx(ctx context.Context, opts *sql.TxOptions, db DBx, ...) (err error) + func Transactx(db DBx, fn func(tx *sqlx.Tx) error) (err error) + type DB interface + Begin func() (*sql.Tx, error) + BeginTx func(ctx context.Context, opts *sql.TxOptions) (*sql.Tx, error) + type DBx interface + BeginTxx func(ctx context.Context, opts *sql.TxOptions) (*sqlx.Tx, error) + Beginx func() (*sqlx.Tx, error) + type Execer interface + type Ext interface + BindNamed func(string, interface{}) (string, []interface{}, error) + DriverName func() string + Rebind func(string) string + type Queryer interface