package postgresql

  1. Overview
  2. Docs
Bindings to the PostgreSQL library

Install

Dune Dependency

Authors

Maintainers

Sources

postgresql-4.5.0.tbz
sha256=1cca5b3da400e4de060b8e61e8aff9675f67204da27c16a5bc4ec0dca4ca0905
sha512=56f3719dc1cf7ae1cf7c71db16264c8737f9114851459edf1a46b5ee2c51ecebb8ed5428c003d243a5cd518cb66a8a007ba2d2d23d01a3b9b87567a0b9871c5c

Description

Postgresql offers library functions for accessing PostgreSQL databases.

Published: 07 Jun 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 (7)

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

Dev Dependencies

None

Conflicts

None

OCaml

Innovation. Community. Security.