Documentation ¶
Index ¶
- type Client
- func (c *Client) GetIngestrURI() (string, error)
- func (c *Client) RunQueryWithoutResult(ctx context.Context, query *query.Query) error
- func (c *Client) Select(ctx context.Context, query *query.Query) ([][]interface{}, error)
- func (c *Client) SelectWithSchema(ctx context.Context, queryObj *query.Query) (*query.QueryResult, error)
- type Config
- type DB
- type MySQLConfig
- type Querier
- type Selector
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(c MySQLConfig) (*Client, error)
func (*Client) GetIngestrURI ¶
func (*Client) RunQueryWithoutResult ¶ added in v0.11.133
func (*Client) SelectWithSchema ¶ added in v0.11.133
type Config ¶
type Config struct { Username string Password string Host string Port int Database string Driver string SslCaPath string SslCertPath string SslKeyPath string }
func (Config) GetIngestrURI ¶
func (Config) ToDBConnectionURI ¶
type MySQLConfig ¶
Click to show internal directories.
Click to hide internal directories.