Documentation
¶
Index ¶
- func Exec(ctx context.Context, db sqlx.ExecerContext, query string, args ...interface{}) (sql.Result, error)
- func Get(ctx context.Context, db sqlx.QueryerContext, dest interface{}, query string, ...) error
- func GetMap(ctx context.Context, db sqlx.QueryerContext, query string, args ...interface{}) (ret map[string]interface{}, err error)
- func NamedExec(ctx context.Context, db sqlx.ExtContext, query string, arg interface{}) (sql.Result, error)
- func NamedGet(ctx context.Context, db sqlx.ExtContext, dest interface{}, query string, ...) error
- func NamedGetMap(ctx context.Context, db sqlx.ExtContext, query string, arg interface{}) (ret map[string]interface{}, err error)
- func NamedSelect(ctx context.Context, db sqlx.ExtContext, dest interface{}, query string, ...) error
- func NamedSelectMaps(ctx context.Context, db sqlx.ExtContext, query string, arg interface{}) (ret []map[string]interface{}, err error)
- func RunTx(ctx context.Context, db TxRunner, f TxFunc) (err error)
- func Select(ctx context.Context, db sqlx.QueryerContext, dest interface{}, query string, ...) error
- func SelectMaps(ctx context.Context, db sqlx.QueryerContext, query string, args ...interface{}) (ret []map[string]interface{}, err error)
- type TxFunc
- type TxRunner
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NamedGetMap ¶
func NamedSelect ¶
func NamedSelectMaps ¶
func SelectMaps ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.