mirror of
https://github.com/Bennyelg/nimPresto
synced 2026-01-02 16:54:40 +00:00
No description
| tests | ||
| .gitignore | ||
| .travis.yml | ||
| db_presto.nim | ||
| db_presto.nimble | ||
| Dockerfile | ||
| presto_nim.jpg | ||
| README.md | ||
prestodb-Nim 
Simple presto-db connector using nim.
Current Version:
Release 1.0
What Works ?
- execute(sql"sql")
- fetchOne()
- fetchMany(size)
- fetchAll()
- authentication
Usage:
import db_presto
let conn = newPrestoClient("https", "host", "8443", "hive", "default", "user", "password")
var ctx = conn.cursor()
ctx.execute(sql"select * from gett_algo.weather_forecast5d3h_v2 LIMIT 11")
Installation:
nimble install db_presto
contributing
I'll be happy to get any help, just work & pull request.
