package postgresql

  1. Overview
  2. Docs
Bindings to the PostgreSQL library

Install

Dune Dependency

Authors

Maintainers

Sources

postgresql-4.5.2.tbz
sha256=da25c8ba2700d8599ff4899b366f70aaf7f752b4201f6f8a076290932cc798f4
sha512=df5df0bd4eb4cfbdf9cd2f9ac98fdcc12faf8ce8bdb50e1596afced62eced1bf8ea773c811ecfb62d17d870a74fbbcfff297b44794e491dbd1bfb49930515366

Description

Postgresql offers library functions for accessing PostgreSQL databases.

Published: 29 Oct 2019

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

  1. base-bytes
  2. conf-postgresql build
  3. stdio build
  4. base build
  5. dune >= "1.10"
  6. ocaml >= "4.08"

Dev Dependencies

None

Conflicts

None