Versions in this module Expand all Collapse all v1 v1.1.0 Dec 9, 2022 v1.0.0 Mar 21, 2020 Changes in this version + type DotSqlx struct + func Wrap(d *dotsql.DotSql) *DotSqlx + func (d DotSqlx) BindNamed(dbx NamedBinder, name string, arg interface{}) (string, []interface{}, error) + func (d DotSqlx) Get(dbx Getter, dest interface{}, name string, args ...interface{}) error + func (d DotSqlx) GetContext(ctx context.Context, dbx GetterContext, dest interface{}, name string, ...) error + func (d DotSqlx) In(name string, args ...interface{}) (string, []interface{}, error) + func (d DotSqlx) MustExec(dbx MustExecer, name string, args ...interface{}) sql.Result + func (d DotSqlx) MustExecContext(ctx context.Context, dbx MustExecerContext, name string, args ...interface{}) sql.Result + func (d DotSqlx) NamedExec(dbx NamedExecer, name string, arg interface{}) (sql.Result, error) + func (d DotSqlx) NamedExecContext(ctx context.Context, dbx NamedExecerContext, name string, arg interface{}) (sql.Result, error) + func (d DotSqlx) NamedQuery(dbx NamedQueryer, name string, arg interface{}) (*sqlx.Rows, error) + func (d DotSqlx) NamedQueryContext(ctx context.Context, dbx NamedQueryerContext, name string, arg interface{}) (*sqlx.Rows, error) + func (d DotSqlx) PrepareNamed(dbx NamedPreparer, name string) (*sqlx.NamedStmt, error) + func (d DotSqlx) PrepareNamedContext(ctx context.Context, dbx NamedPreparerContext, name string) (*sqlx.NamedStmt, error) + func (d DotSqlx) Preparex(dbx Preparerx, name string) (*sqlx.Stmt, error) + func (d DotSqlx) PreparexContext(ctx context.Context, dbx PreparerxContext, name string) (*sqlx.Stmt, error) + func (d DotSqlx) QueryRowx(dbx QueryRowerx, name string, args ...interface{}) (*sqlx.Row, error) + func (d DotSqlx) QueryRowxContext(ctx context.Context, dbx QueryRowerxContext, name string, args ...interface{}) (*sqlx.Row, error) + func (d DotSqlx) Queryx(dbx Queryerx, name string, args ...interface{}) (*sqlx.Rows, error) + func (d DotSqlx) QueryxContext(ctx context.Context, dbx QueryerxContext, name string, args ...interface{}) (*sqlx.Rows, error) + func (d DotSqlx) Rebind(dbx Rebinder, name string) (string, error) + func (d DotSqlx) Select(dbx Selecter, dest interface{}, name string, args ...interface{}) error + func (d DotSqlx) SelectContext(ctx context.Context, dbx SelecterContext, dest interface{}, name string, ...) error + type Getter interface + Get func(dest interface{}, query string, args ...interface{}) error + type GetterContext interface + GetContext func(ctx context.Context, dest interface{}, query string, args ...interface{}) error + type MustExecer interface + MustExec func(query string, args ...interface{}) sql.Result + type MustExecerContext interface + MustExecContext func(ctx context.Context, query string, args ...interface{}) sql.Result + type NamedBinder interface + BindNamed func(query string, arg interface{}) (string, []interface{}, error) + type NamedExecer interface + NamedExec func(query string, arg interface{}) (sql.Result, error) + type NamedExecerContext interface + NamedExecContext func(ctx context.Context, query string, arg interface{}) (sql.Result, error) + type NamedPreparer interface + PrepareNamed func(query string) (*sqlx.NamedStmt, error) + type NamedPreparerContext interface + PrepareNamedContext func(ctx context.Context, query string) (*sqlx.NamedStmt, error) + type NamedQueryer interface + NamedQuery func(query string, arg interface{}) (*sqlx.Rows, error) + type NamedQueryerContext interface + NamedQueryContext func(ctx context.Context, query string, arg interface{}) (*sqlx.Rows, error) + type Preparerx interface + Preparex func(query string) (*sqlx.Stmt, error) + type PreparerxContext interface + PreparexContext func(ctx context.Context, query string) (*sqlx.Stmt, error) + type QueryRowerx interface + QueryRowx func(query string, args ...interface{}) *sqlx.Row + type QueryRowerxContext interface + QueryRowxContext func(ctx context.Context, query string, args ...interface{}) *sqlx.Row + type Queryerx interface + Queryx func(query string, args ...interface{}) (*sqlx.Rows, error) + type QueryerxContext interface + QueryxContext func(ctx context.Context, query string, args ...interface{}) (*sqlx.Rows, error) + type Rebinder interface + Rebind func(query string) string + type Selecter interface + Select func(dest interface{}, query string, args ...interface{}) error + type SelecterContext interface + SelectContext func(ctx context.Context, dest interface{}, query string, args ...interface{}) error