https://github.com/humansinput/clickhouse-tcl
Yandex Clickhouse client bindings to Tcl but they are modified so that they could be parsed with TclConv easily
https://github.com/humansinput/clickhouse-tcl
Last synced: 5 months ago
JSON representation
Yandex Clickhouse client bindings to Tcl but they are modified so that they could be parsed with TclConv easily
- Host: GitHub
- URL: https://github.com/humansinput/clickhouse-tcl
- Owner: humansinput
- License: mit
- Created: 2019-09-27T18:27:36.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-09-27T18:38:06.000Z (over 6 years ago)
- Last Synced: 2025-05-16T13:11:51.922Z (about 1 year ago)
- Language: Tcl
- Homepage:
- Size: 5.86 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# clickhouse-tcl
Yandex Clickhouse client bindings to Tcl (require Tcl 8.5 or newer).
Obviously, they are not ready yet, as right now you can only do SELECT as well as connect to the server.
## Example
```
source clickhouse.tcl
set username default
set password somekindofpassword
set mycon [clickhouse::connect $username $password]
set query [clickhouse::select $mycon * system.columns]
foreach row $query {
puts "DB: [lindex $row 0]"
puts "Table: [lindex $row 1]"
puts "Column: [lindex $row 2]"
puts "Type: [lindex $row 3]"
}
```
## License
Licensed under MIT License.
## API docs
Coming soon...