Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lmangani authored Jan 1, 2025
1 parent 0f6a658 commit 31712eb
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 31712eb

Please sign in to comment.