HTTP ClickHouse driver for V
- Functional (exec, ping)
- Read Only mode (GET)
- Experimental, Basic & Untested. Do not use this in production
module main
import vch
fn main(){
client := vch.new_client('http://clickhouse:8123', 'default:password')
rows := client.exec('SELECT 1')
println(rows)
}
CH_API="http://clickhouse:8123" CH_AUTH="default:password" vch -q "SHOW DATABASES" -f JSONEachRow
- HTTP/S connectivity
- Basic Authentication
- GET/READ support
- POST/INSERT support
- Format Parsers
- Commands
- Everything else