package postgres_async
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=3a8b4ecf02dee62e101fed6d8981f5f42f8d42b84381507fd1eadf001830fdcb
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: 14 Jun 2023
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
.