Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 950 Bytes

README.md

File metadata and controls

41 lines (30 loc) · 950 Bytes

vlang-build

vch

HTTP ClickHouse driver for V

Status

  • Functional (exec, ping)
  • Read Only mode (GET)
  • Experimental, Basic & Untested. Do not use this in production

Library Usage

module main

import vch

fn main(){
    client := vch.new_client('http://clickhouse:8123', 'default:password')
    rows := client.exec('SELECT 1')
    println(rows)
}

CLI Usage

CH_API="http://clickhouse:8123" CH_AUTH="default:password" vch -q "SHOW DATABASES" -f JSONEachRow

Todo

  • HTTP/S connectivity
  • Basic Authentication
  • GET/READ support
  • POST/INSERT support
  • Format Parsers
  • Commands
  • Everything else