Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conn ¶
type Conn interface {
driver.Conn
driver.QueryerContext
driver.ExecerContext
driver.Validator
}
type Driver ¶
type Driver interface {
driver.Driver
driver.DriverContext
DriverParseSql
}
func NewDriver ¶
func NewDriver(dvrctx driver.DriverContext, dvr driver.Driver, dvrparssql DriverParseSql) Driver
type DriverContextFunc ¶
func (DriverContextFunc) OpenConnector ¶
func (dvrctxfnc DriverContextFunc) OpenConnector(name string) (driver.Connector, error)
type DriverParseSql ¶
type DriverParseSqlFunc ¶
func (DriverParseSqlFunc) ParseSqlParam ¶
func (dpsfnc DriverParseSqlFunc) ParseSqlParam(name string, idx int) (stmntname, uniqname string)
type GoConnectorContext ¶
type GoConnectorContext interface {
Connect(context.Context) (driver.Conn, error)
Driver() driver.Driver
}
func GoConnector ¶
func GoConnector(datasource string, dvr driver.Driver) GoConnectorContext
Click to show internal directories.
Click to hide internal directories.