Simple presto-db connector using nim.
Release 1.0
- execute(sql"sql")
- fetchOne()
- fetchMany(size)
- fetchAll()
- authentication
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")
nimble install db_presto
I'll be happy to get any help, just work & pull request.