{"repo":"vahid-sohrabloo/chconn","free":true,"listed":false,"github":"https://github.com/vahid-sohrabloo/chconn","clone":"git clone https://github.com/vahid-sohrabloo/chconn.git","description":"Low-level ClickHouse database driver for Golang","language":"Go","stars":159,"topics":["golang","clickhouse","go","tcp","fast"],"license":"MIT","category":"databases-storage","readme_excerpt":"chconn - ClickHouse Native Protocol Driver for Go chconn is a pure Go driver for ClickHouse using the native TCP protocol. It is designed for high-performance, column-oriented data access with full generics support. If you have any suggestion or comment, please feel free to open an issue. Installation Requires the latest two stable Go releases. Quick Start Core Patterns Column-Oriented Insert The fastest way to insert data. Append values to typed columns and insert in bulk: Column-Oriented Select Read data block by block for maximum throughput: Row-Oriented Query Familiar SQL-style row iteration with Query and Scan : Struct Scanning Map results directly to Go structs by field name: Scanning options: - RowToStructByName[T] — match columns to struct fields by name (case-insensitive) - RowToStructByNameLax[T] — same, but tolerates extra/missing fields - RowToStructByPos[T] — match by column position - RowTo[T] — auto-detect: struct by name, map[string]any , or scalar Streaming Insert For multi-batch inserts or row-by-row appending: Parameterized Queries Type-safe query parameters using ClickHouse native parameter syntax: Available parameter functions: IntParameter , UintParameter , Float32Parameter , Float64Parameter , StringParameter , and their slice variants ( IntSliceParameter , etc.). Features Connection Pool The pool implements the same Select , Insert , Query , Exec methods as a single connection. Supported Types ClickHouse Type Go Column --- --- Bool column.Newbool UInt8","default_branch":null,"files":null,"tree":[],"storefront":"/r/vahid-sohrabloo","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/vahid-sohrabloo/chconn/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}