Documentation
¶
Index ¶
- Constants
- type MYSQL
- func (m *MYSQL) Close()
- func (m *MYSQL) QueryRow(sql string, args ...interface{}) *godbv2.QueryResult
- func (m *MYSQL) QueryWithPage(sql string, page *godbv2.PageObj, args ...interface{}) *godbv2.QueryResult
- func (m *MYSQL) SetConn(conn godbv2.QueryWithContext)
- func (m *MYSQL) Transaction(t godbv2.TransactionFunc, option ...*sql.TxOptions) error
Constants ¶
View Source
const DriverName godbv2.DriverName = "mysql"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MYSQL ¶
type MYSQL struct {
godbv2.Connect
// contains filtered or unexported fields
}
MYSQL mysql操作对象
func (*MYSQL) QueryRow ¶
func (m *MYSQL) QueryRow(sql string, args ...interface{}) *godbv2.QueryResult
func (*MYSQL) QueryWithPage ¶
func (m *MYSQL) QueryWithPage(sql string, page *godbv2.PageObj, args ...interface{}) *godbv2.QueryResult
Click to show internal directories.
Click to hide internal directories.