Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertColumn ¶
Types ¶
type CHConn ¶
type CHConn struct {
// contains filtered or unexported fields
}
ClickHouse connection
func MakeChConnection ¶
func MakeChConnection(c *config.CHConnConfig, useGzip bool) *CHConn
Make new ClickHouse connection. For HTTP it just makes URL
func (*CHConn) PerformInsert ¶
func (c *CHConn) PerformInsert(tableName config.ChTableName, columns []string, reqBody io.Reader) error
Make INSERT command, sends SQL command as query parameter
Click to show internal directories.
Click to hide internal directories.