Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

semiotic-ai/sql-wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sql-wrapper

This is a thin layer between Clickhouse and clients that aims to allow safe share of a SQL endpoint.

Routes available

endpoint method params output
/execute GET sql { "field": "value" }

Environment Variables

You can use the following environment variables or set them using a .env file.

CLICKHOUSE_URL="tcp://<user>:<password>@<host>:<port>/<database>?secure=true&skip_verify=true&connection_timeout=20s"

Contributing

Prerequisites

  • Rust and Cargo
  • Docker and docker-compose (if you want a local clickhouse)

Running a local Clickhouse

docker compose up -d

It will be available using: tcp://default:default@localhost:9000/default

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages