Documentation
¶
Index ¶
- func Register(driverName string, original driver.Driver, mgr *config.Manager)
- type WrapperConn
- func (c *WrapperConn) Begin() (driver.Tx, error)
- func (c *WrapperConn) BeginTx(ctx context.Context, opts driver.TxOptions) (driver.Tx, error)
- func (c *WrapperConn) Close() error
- func (c *WrapperConn) ExecContext(ctx context.Context, query string, args []driver.NamedValue) (driver.Result, error)
- func (c *WrapperConn) Prepare(query string) (driver.Stmt, error)
- func (c *WrapperConn) PrepareContext(ctx context.Context, query string) (driver.Stmt, error)
- func (c *WrapperConn) QueryContext(ctx context.Context, query string, args []driver.NamedValue) (driver.Rows, error)
- type WrapperConnector
- type WrapperDriver
- type WrapperStmt
- func (s *WrapperStmt) Close() error
- func (s *WrapperStmt) Exec(args []driver.Value) (driver.Result, error)
- func (s *WrapperStmt) ExecContext(ctx context.Context, args []driver.NamedValue) (driver.Result, error)
- func (s *WrapperStmt) NumInput() int
- func (s *WrapperStmt) Query(args []driver.Value) (driver.Rows, error)
- func (s *WrapperStmt) QueryContext(ctx context.Context, args []driver.NamedValue) (driver.Rows, error)
- type WrapperTx
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type WrapperConn ¶
type WrapperConn struct {
// contains filtered or unexported fields
}
func (*WrapperConn) Close ¶
func (c *WrapperConn) Close() error
func (*WrapperConn) ExecContext ¶
func (c *WrapperConn) ExecContext(ctx context.Context, query string, args []driver.NamedValue) (driver.Result, error)
func (*WrapperConn) PrepareContext ¶ added in v1.5.1
func (*WrapperConn) QueryContext ¶
func (c *WrapperConn) QueryContext(ctx context.Context, query string, args []driver.NamedValue) (driver.Rows, error)
type WrapperConnector ¶ added in v1.6.0
type WrapperConnector struct {
// contains filtered or unexported fields
}
func (*WrapperConnector) Driver ¶ added in v1.6.0
func (c *WrapperConnector) Driver() driver.Driver
type WrapperDriver ¶
type WrapperDriver struct {
// contains filtered or unexported fields
}
func (*WrapperDriver) OpenConnector ¶ added in v1.6.0
func (d *WrapperDriver) OpenConnector(name string) (driver.Connector, error)
type WrapperStmt ¶ added in v1.5.1
type WrapperStmt struct {
// contains filtered or unexported fields
}
func (*WrapperStmt) Close ¶ added in v1.5.1
func (s *WrapperStmt) Close() error
func (*WrapperStmt) ExecContext ¶ added in v1.5.1
func (s *WrapperStmt) ExecContext(ctx context.Context, args []driver.NamedValue) (driver.Result, error)
func (*WrapperStmt) NumInput ¶ added in v1.5.1
func (s *WrapperStmt) NumInput() int
func (*WrapperStmt) QueryContext ¶ added in v1.5.1
func (s *WrapperStmt) QueryContext(ctx context.Context, args []driver.NamedValue) (driver.Rows, error)
Click to show internal directories.
Click to hide internal directories.