Documentation ¶
Index ¶
- type Block
- type MySQL
- func (m *MySQL) Get(dest interface{}, query string, args ...interface{}) (err error)
- func (m *MySQL) In(query string, params ...interface{}) (string, []interface{}, error)
- func (m *MySQL) IsReady() bool
- func (m *MySQL) NamedIn(query string, params map[string]interface{}) (string, []interface{}, error)
- func (m *MySQL) Prepare(query string) (*sqlx.NamedStmt, error)
- func (m *MySQL) PrepareBind(query string) (*sqlx.Stmt, error)
- func (m *MySQL) Rebind(query string) string
- func (m *MySQL) Select(dest interface{}, query string, args ...interface{}) (err error)
- func (m *MySQL) Shutdown()
- func (m *MySQL) Startup()
- func (m *MySQL) WithTransaction(db *MySQL, block Block) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MySQL ¶
MySQL is the MySQL database class
func (*MySQL) PrepareBind ¶
PrepareBind prepares and binds an SQL statement
Click to show internal directories.
Click to hide internal directories.