Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connection ¶
type MysqlConnection ¶
func (*MysqlConnection) Exec ¶
func (*MysqlConnection) Prepare ¶
func (c *MysqlConnection) Prepare(sqlStr string) (statement.Statement, error)
func (*MysqlConnection) Query ¶
func (c *MysqlConnection) Query(ctx context.Context, result reflection.Object, sqlStr string, params ...interface{}) error
type MysqlStatement ¶
func (*MysqlStatement) Close ¶
func (s *MysqlStatement) Close()
func (*MysqlStatement) Exec ¶
func (*MysqlStatement) Query ¶
func (s *MysqlStatement) Query(ctx context.Context, result reflection.Object, params ...interface{}) error
Source Files
¶
- connection.go
- mysql_connection.go
Click to show internal directories.
Click to hide internal directories.