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.16.0.tar.gz
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.

Dependencies (7)

  1. dune >= "2.0.0"
  2. ppx_jane >= "v0.16" & < "v0.17"
  3. core_kernel >= "v0.16" & < "v0.17"
  4. core >= "v0.16" & < "v0.17"
  5. async_ssl >= "v0.16" & < "v0.17"
  6. async >= "v0.16" & < "v0.17"
  7. ocaml >= "4.14.0"

Dev Dependencies

None

Used by

None

Conflicts

None

OCaml

Innovation. Community. Security.