Documentation
¶
Index ¶
- Variables
- type Client
- func (c *Client) BeginTx(ctx context.Context) (*sql.Tx, error)
- func (c *Client) Close()
- func (c *Client) Connect()
- func (c *Client) ExecContext(ctx context.Context, query string, args ...interface{}) (sql.Result, error)
- func (c *Client) QueryContext(ctx context.Context, query string, args ...interface{}) (*sql.Rows, error)
- func (c *Client) QueryRowContext(ctx context.Context, query string, args ...interface{}) (*sql.Row, error)
- type Config
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoConn = errors.New("no database connection")
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) ExecContext ¶
func (*Client) QueryContext ¶
Click to show internal directories.
Click to hide internal directories.