Documentation ¶
Index ¶
- Variables
- func In(keys interface{}) string
- type MysqlDB
- func (db *MysqlDB) Begin() (*sql.Tx, error)
- func (db *MysqlDB) Close() error
- func (db *MysqlDB) Exec(query string, args ...interface{}) (sql.Result, error)
- func (db *MysqlDB) Ping() (err error)
- func (db *MysqlDB) PrepareExec(query string) (*sql.Stmt, error)
- func (db *MysqlDB) PrepareQuery(query string) (*sql.Stmt, error)
- func (db *MysqlDB) Query(query string, args ...interface{}) (*sql.Rows, error)
- func (db *MysqlDB) QueryFromMain(query string, args ...interface{}) (*sql.Rows, error)
- func (db *MysqlDB) QueryRow(query string, args ...interface{}) *sql.Row
- func (db *MysqlDB) QueryRowFromMain(query string, args ...interface{}) *sql.Row
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoRows = sql.ErrNoRows
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.