Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Register ¶
func Register(wrapper DriverWrapper)
Types ¶
type DriverWrapper ¶
type DriverWrapper interface { GetDriverName() string CreateConnection(dsn string) (interface{}, error) CloseConnection(conn interface{}) error Ping(conn interface{}) error BeginTx(conn interface{}, opts driver.TxOptions) (interface{}, error) Commit(tx interface{}) error Rollback(tx interface{}) error Prepare(conn interface{}, query string) (interface{}, error) CloseStmt(stmt interface{}) error Exec(stmt interface{}, args ...interface{}) (ExecResult, error) Query(stmt interface{}, args ...interface{}) (ResultSet, error) }
type ExecResult ¶
Click to show internal directories.
Click to hide internal directories.