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

v0.17.0.tar.gz
sha256=247ab43840311bef9290ac209f46ca56f21983f3a278f1ec51eba6a6776b7f9b

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: 26 May 2024

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 (7)

  1. dune >= "3.11.0"
  2. ppx_jane >= "v0.17" & < "v0.18"
  3. core_kernel >= "v0.17" & < "v0.18"
  4. core >= "v0.17" & < "v0.18"
  5. async_ssl >= "v0.17" & < "v0.18"
  6. async >= "v0.17" & < "v0.18"
  7. ocaml >= "5.1.0"

Dev Dependencies

None

Used by

None

Conflicts

None

OCaml

Innovation. Community. Security.