clickhouse

package
v0.0.0-...-8c930d8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 11, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package clickhouse provides the native ClickHouse client for analytical workloads: high-throughput batch ingestion and queries that bypass the gorm dialect. The gorm dialect and this provider share the clickhouse configuration section: the dialect serves ClickHouse as the primary database when database.type selects it, while this provider serves the native workload alongside whatever primary database the project runs.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Client

func Client() (driver.Conn, error)

Client returns the initialized native ClickHouse connection. Batch ingestion talks to it directly: PrepareBatch, Append, Send.

func New

func New(cfg config.Clickhouse) (driver.Conn, error)

New returns a new native ClickHouse connection with the given configuration. Callers own the returned connection and must close it when it is no longer needed.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址