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