Skip to content

cheatfate/asyncpg

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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