Versions in this module Expand all Collapse all v1 v1.0.1 Aug 9, 2020 v1.0.0 Jun 19, 2020 Changes in this version + type SQLM struct + func Conn(driverName, dataSourceName string) (sqlm SQLM, err error) + func (s SQLM) Begin() (tx Tx, err error) + func (s SQLM) Exec(pattern string, arg interface{}) (result sql.Result, err error) + func (s SQLM) Query(pattern string, arg interface{}) (rows *sqlx.Rows, err error) + func (s SQLM) QueryRow(pattern string, arg interface{}) (row *sqlx.Row, err error) + type Tx struct + func (tx Tx) Commit() (err error) + func (tx Tx) Exec(pattern string, arg interface{}) (result sql.Result, err error) + func (tx Tx) Query(pattern string, arg interface{}) (rows *sqlx.Rows, err error) + func (tx Tx) QueryRow(pattern string, arg interface{}) (row *sqlx.Row, err error) + func (tx Tx) Rollback() (err error)