From b2f3daec841877a642595cf5ef07a2cf9551275b Mon Sep 17 00:00:00 2001 From: Jochen Schalanda Date: Tue, 23 Jul 2024 14:37:34 +0200 Subject: [PATCH] Add ClickHouse support to README --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 487de360c..3dbbefff3 100644 --- a/README.md +++ b/README.md @@ -598,6 +598,15 @@ If a field has multiple types, the `multipleFieldType` query can be used to list dsn: mongodb://mongoadmin:secret@localhost:27017/test?sampleSize=20&multipleFieldType=true ``` +**ClickHouse:** + +``` yaml +# .tbls.yml +dsn: clickhouse://dbuser:dbpass@hostname:9000/dbname +``` + +See also: https://pkg.go.dev/github.com/ClickHouse/clickhouse-go + **JSON:** The JSON file output by the `tbls out -t json` command can be read as a datasource.