Documentation
¶
Index ¶
- func Open(driverName, dataSourceName string) (*sql.DB, error)
- func OpenContext(ctx context.Context, driverName, dataSourceName string) (*sql.DB, error)
- func OpenDB(ctx context.Context, dataSourceName string, connector driver.Connector) (*sql.DB, error)
- func OpenWithRegister(ctx context.Context, driverName, dataSourceName string) (*sql.DB, error)
- type WhatapDriver
- type WrapConn
- func (c WrapConn) Begin() (tx driver.Tx, err error)
- func (c WrapConn) BeginTx(ctx context.Context, opts driver.TxOptions) (tx driver.Tx, err error)
- func (c WrapConn) Close() error
- func (c WrapConn) Exec(query string, args []driver.Value) (res driver.Result, err error)
- func (c WrapConn) ExecContext(ctx context.Context, query string, args []driver.NamedValue) (res driver.Result, err error)
- func (c WrapConn) Prepare(query string) (stmt driver.Stmt, err error)
- func (c WrapConn) PrepareContext(ctx context.Context, query string) (stmt driver.Stmt, err error)
- func (c WrapConn) Query(query string, args []driver.Value) (rows driver.Rows, err error)
- func (c WrapConn) QueryContext(ctx context.Context, query string, args []driver.NamedValue) (rows driver.Rows, err error)
- func (c WrapConn) ResetSession(ctx context.Context) error
- type WrapConnector
- type WrapStmt
- func (s WrapStmt) Exec(args []driver.Value) (res driver.Result, err error)
- func (s WrapStmt) ExecContext(ctx context.Context, args []driver.NamedValue) (res driver.Result, err error)
- func (s WrapStmt) Query(args []driver.Value) (rows driver.Rows, err error)
- func (s WrapStmt) QueryContext(ctx context.Context, args []driver.NamedValue) (rows driver.Rows, err error)
- type WrapTx
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OpenContext ¶
Types ¶
type WhatapDriver ¶
func (WhatapDriver) OpenConnector ¶
func (d WhatapDriver) OpenConnector(name string) (c driver.Connector, err error)
func (WhatapDriver) OpenConnectorContext ¶
type WrapConn ¶
func (WrapConn) ExecContext ¶
func (WrapConn) PrepareContext ¶
func (WrapConn) QueryContext ¶
type WrapConnector ¶
Click to show internal directories.
Click to hide internal directories.