Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnectWithDB ¶ added in v0.3.26
Types ¶
type ConnX ¶
type ConnX interface {
sqlx.Queryer
MapperFunc(func(string) string)
Rebind(string) string
Unsafe() *sqlx.DB
BindNamed(string, interface{}) (string, []interface{}, error)
NamedQuery(string, interface{}) (*sqlx.Rows, error)
NamedExec(string, interface{}) (sql.Result, error)
Select(interface{}, string, ...interface{}) error
Get(interface{}, string, ...interface{}) error
MustBegin() *sqlx.Tx
Beginx() (*sqlx.Tx, error)
Exec(string, ...interface{}) (sql.Result, error)
MustExec(string, ...interface{}) sql.Result
Preparex(string) (*sqlx.Stmt, error)
PrepareNamed(string) (*sqlx.NamedStmt, error)
}
Click to show internal directories.
Click to hide internal directories.