Skip to content

Bennyelg/nimPresto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.