Documentation
¶
Index ¶
- type Conn
- func (c *Conn) Begin() (driver.Tx, error)
- func (c *Conn) Close() (err error)
- func (c *Conn) IsValid(dial context.Context) bool
- func (c *Conn) Ping(ctx context.Context) (err error)
- func (c *Conn) Prepare(query string) (driver.Stmt, error)
- func (c *Conn) PrepareContext(_ context.Context, query string) (driver.Stmt, error)
- func (c *Conn) ResetSession(dial context.Context) error
- type Connector
- type Driver
- type ParseError
- type Parser
- type ReadCloser
- type Result
- type Rows
- type Stmt
- func (s *Stmt) Close() error
- func (s *Stmt) Exec(args []driver.Value) (driver.Result, error)
- func (s *Stmt) ExecContext(ctx context.Context, args []driver.NamedValue) (driver.Result, error)
- func (s *Stmt) NumInput() int
- func (s *Stmt) Query(args []driver.Value) (driver.Rows, error)
- func (s *Stmt) QueryContext(ctx context.Context, args []driver.NamedValue) (driver.Rows, error)
- type Tx
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conn ¶
func (*Conn) PrepareContext ¶
type ParseError ¶
type ParseError struct { Parser // contains filtered or unexported fields }
func (*ParseError) Error ¶
func (e *ParseError) Error() string
type ReadCloser ¶
func (*ReadCloser) Close ¶
func (r *ReadCloser) Close() error
type Result ¶
type Result struct {
// contains filtered or unexported fields
}
func (*Result) LastInsertId ¶
func (*Result) RowsAffected ¶
type Stmt ¶
type Stmt struct {
// contains filtered or unexported fields
}
func (*Stmt) ExecContext ¶
func (*Stmt) QueryContext ¶
Click to show internal directories.
Click to hide internal directories.