Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 767 Bytes

README.md

File metadata and controls

36 lines (24 loc) · 767 Bytes

prestodb-Nim nimble

alt tag

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.