package postgresql

  1. Overview
  2. Docs
Bindings to the PostgreSQL library

Install

Dune Dependency

Authors

Maintainers

Sources

postgresql-4.5.1.tbz
sha256=de42225cfcddb173352dcdeeba09594eae1c11c549480eef9fc623a3ca1b2e50
sha512=14875b271b85365c81a9a8fe614c50fe0205443cdd34e04cb1c727956f161cb310ac2acaf4790e8eace972e5c7d21a4bc7e39735d518f5a019410954f3ed62ba

Description

Postgresql offers library functions for accessing PostgreSQL databases.

Published: 18 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. conf-postgresql build
  2. base-bytes
  3. stdio build
  4. base build
  5. dune >= "1.7.0"
  6. ocaml >= "4.08"

Dev Dependencies

None

Conflicts

None