Versions in this module Expand all Collapse all v0 v0.0.1 Jul 6, 2019 Changes in this version + type Connection interface + Exec func(ctx context.Context, sql string, params ...interface{}) (common.Result, error) + Prepare func(sql string) (statement.Statement, error) + Query func(ctx context.Context, result reflection.Object, sql string, ...) error + type MysqlConnection sql.DB + func (c *MysqlConnection) Exec(ctx context.Context, sqlStr string, params ...interface{}) (common.Result, error) + func (c *MysqlConnection) Prepare(sqlStr string) (statement.Statement, error) + func (c *MysqlConnection) Query(ctx context.Context, result reflection.Object, sqlStr string, ...) error + type MysqlStatement sql.Stmt + func (s *MysqlStatement) Close() + func (s *MysqlStatement) Exec(ctx context.Context, params ...interface{}) (common.Result, error) + func (s *MysqlStatement) Query(ctx context.Context, result reflection.Object, params ...interface{}) error