Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Transaction ¶
type Transaction interface { Insert(sqlstr string, args ...interface{}) (sql.Result, error) Update(sqlstr string, args ...interface{}) (sql.Result, error) Execute(sqlstr string, args ...interface{}) (sql.Result, error) QueryForArray(sqlstr string, args ...interface{}) mapper.RowsConvertor QueryRow(sqlstr string, args ...interface{}) mapper.RowConvertor Commit() error Rollback() error }
func New ¶
func New(tx *sql.Tx) Transaction
Click to show internal directories.
Click to hide internal directories.