Skip to content

cheatfate/asyncpg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

asyncPG Build Status Build status

Asynchronous PostgreSQL driver for Nim Language http://www.nim-lang.org

Main features

  • Pure asynchronous implementation, based on LibPQ and Nim's async core
  • Support for many SQL statements/results in one request
  • Ability to send parameters separately from query, thus avoiding the need for tedious and error-prone quoting and escaping
  • Automatic type conversion for basic Nim types
  • Sending and receiving COPY data
  • ARRAYS and JSON/JSONB support
  • Asynchronous Notification

Installation

You can use Nim official package manager nimble to install asyncpg. The most recent version of the library can be installed via:

$ nimble install asyncpg

or directly from Github repository

$ nimble install https://github.com/cheatfate/asyncpg.git

Minimal requirements

  • PostgreSQL 9.x (if you want to have support for JSONB types, you need PostgreSQL 9.4 at least)
  • Nim language compiler 0.14.2

Documentation

You can find documentation in Wiki.

ToDo

  • Add objects to automatic type conversion
  • Add support for binary COPY data

About

Asynchronous PostgreSQL driver for Nim language

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages