package postgresql

  1. Overview
  2. Docs
Bindings to the PostgreSQL library

Install

Dune Dependency

Authors

Maintainers

Sources

postgresql-4.6.0.tbz
sha256=9e9b6ce75c9e93c77dd906eccf88555d7fc88fd6b1f02345c367b254a26265b1
sha512=6dca72ef03afbe631db0822e057961ef7e68d4294c2631ed12c2438a919d608adb241c7f9666883c14da631b505e32db52b87acd01b06c033694fcaa15c9b20e

Description

Postgresql offers library functions for accessing PostgreSQL databases.

Published: 25 May 2020

README

PostgreSQL-OCaml - PostgreSQL Bindings for OCaml

What is PostgreSQL-OCaml?

This OCaml-library provides an interface to PostgreSQL, an efficient and reliable, open source, relational database. Almost all functionality available through the C-API (libpq) is replicated in a type-safe way. This library uses objects for representing database connections and results of queries.

Usage

The OCaml-API in file lib/postgresql.mli is well-documented and can be built as HTML with make doc. The API-documentation can also be found online.

More detailed information on how to interact with PostgreSQL is available in the PostgreSQL-documentation. The OCaml-examples in the examples-directory are mostly very short and comprehensible and therefore a good way to get started.

Contact Information and Contributing

Please submit bugs reports, feature requests, contributions and similar to the GitHub issue tracker.

Up-to-date information is available at: https://mmottl.github.io/postgresql-ocaml

Dependencies (7)

  1. base-bytes
  2. conf-postgresql build
  3. stdio build
  4. base build & < "v0.17"
  5. dune-configurator
  6. dune >= "1.10"
  7. ocaml >= "4.08"

Dev Dependencies

None

Conflicts

None

OCaml

Innovation. Community. Security.