package postgres_async

  1. Overview
  2. Docs
OCaml/async implementation of the postgres protocol (i.e., does not use C-bindings to libpq)

Install

Dune Dependency

Authors

Maintainers

Sources

postgres_async-v0.14.0.tar.gz
md5=8307c0f3a8fb33494e00894c6f583307

Description

postgres_async is an OCaml PostgreSQL client that implements the PostgreSQL protocol rather than binding to the libpq C library. It provides support for regular queries (including support for 'parameters': "SELECT * WHERE a = $1") and COPY IN mode. The interface presented is minimal to keep the library simple for now, though in the future a layer on top may add convenience functions.

Published: 31 May 2020

README

Postgres_async

postgres_async is an ocaml PostgreSQL client that implements the PostgreSQL protocol rather than binding to the libpq C library. It provides support for regular queries (including support for 'parameters': SELECT * WHERE a = $1) and COPY IN mode. The interface presented is minimal to keep the library simple for now, though in the future a layer on top may add convenience functions.

To get started, have a look at the Postgres_async module interface in src/postgresql_async.mli.

Dependencies (6)

  1. dune >= "2.0.0"
  2. ppx_jane >= "v0.14" & < "v0.15"
  3. core_kernel >= "v0.14" & < "v0.15"
  4. core >= "v0.14" & < "v0.15"
  5. async >= "v0.14" & < "v0.15"
  6. ocaml >= "4.08.0"

Dev Dependencies

None

Used by

None

Conflicts

None