Documentation ¶ Index ¶ func Connect(c rvdb.DSNConfig) (*sql.DB, error) func RunPinger(db *sql.DB, callback func(error)) type Inserter type Result func InsertRecords(db *sql.DB, schema, table string, fields []string, recs []Inserter) (Result, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Connect ¶ func Connect(c rvdb.DSNConfig) (*sql.DB, error) func RunPinger ¶ func RunPinger(db *sql.DB, callback func(error)) Types ¶ type Inserter ¶ type Inserter interface { FlushToDBStmt(stmt *sql.Stmt) (Result, error) } type Result ¶ type Result struct { RowsProcessed int64 RowsError int64 } func InsertRecords ¶ func InsertRecords(db *sql.DB, schema, table string, fields []string, recs []Inserter) (Result, error) Source Files ¶ View all Source files rvdb_clickhouse.go Click to show internal directories. Click to hide internal directories.