From 31712ebe8c9ebc0ac17fc0318abdd387bd4b0779 Mon Sep 17 00:00:00 2001 From: Lorenzo Mangani Date: Wed, 1 Jan 2025 16:33:44 +0100 Subject: [PATCH] Update README.md --- README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 149d53d..27c8a55 100644 --- a/README.md +++ b/README.md @@ -12,16 +12,16 @@ INSTALL chsql_native FROM community; LOAD chsql_native; ``` -## Native Client +## 🤖 Native Client The extension provides an experimental clickhouse native client: `clickhouse_reader` -### Settings -``` -CLICKHOUSE_URL="tcp://localhost:9000" -CLICKHOUSE_USER="default" -CLICKHOUSE_PASSWORD="" -``` -### Usage +### 🏁 Settings +```bash +export CLICKHOUSE_URL="tcp://localhost:9000" +export CLICKHOUSE_USER="default" +export CLICKHOUSE_PASSWORD="" ``` +### ✏️ Usage +```sql D SELECT * FROM clickhouse_scan("SELECT version(), 'hello', 123"); ┌────────────┬─────────┬────────┐ │ version() │ 'hello' │ 123 │ @@ -31,7 +31,7 @@ D SELECT * FROM clickhouse_scan("SELECT version(), 'hello', 123"); └────────────┴─────────┴────────┘ ``` -## Native Reader +## 🤖 Native Reader The extension provides an experimental clickhouse native file reader: `clickhouse_native` ### 🏁 Input