Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Sql ¶
type Sql interface { DB() *sqlx.DB Ping() error CreateTx() (*sqlx.Tx, error) Exec(query string, args ...interface{}) (sql.Result, error) Query(query string, args ...interface{}) (*sql.Rows, error) NamedExec(query string, arg interface{}) (sql.Result, error) NamedQuery(query string, arg interface{}) (*sqlx.Rows, error) Select(dest interface{}, query string, args ...interface{}) error }
Click to show internal directories.
Click to hide internal directories.