Documentation
¶
Index ¶
- Variables
- type Conn
- func (c *Conn) Begin() (driver.Tx, error)
- func (c *Conn) BeginTx(ctx context.Context, txOptions driver.TxOptions) (iface.Tx, error)
- func (c *Conn) Close() (finalErr error)
- func (c *Conn) Exec(ctx context.Context, sql string, params *params.Params) (result driver.Result, finalErr error)
- func (c *Conn) Explain(ctx context.Context, sql string, _ *params.Params) (ast string, plan string, _ error)
- func (c *Conn) ID() string
- func (c *Conn) IsValid() bool
- func (c *Conn) NodeID() uint32
- func (c *Conn) Ping(ctx context.Context) (finalErr error)
- func (c *Conn) Query(ctx context.Context, sql string, params *params.Params) (result driver.RowsNextResultSet, finalErr error)
- type Option
- type Parent
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrUnsupported = driver.ErrSkip
)
Functions ¶
This section is empty.
Types ¶
type Conn ¶
type Conn struct {
// contains filtered or unexported fields
}
type Option ¶
type Option func(c *Conn)
func WithFakeTx ¶
func WithFakeTx() Option
func WithOnClose ¶
func WithOnClose(onClose func()) Option
Source Files
¶
Click to show internal directories.
Click to hide internal directories.