package postgresql

  1. Overview
  2. Docs
Bindings to the PostgreSQL library

Install

Dune Dependency

Authors

Maintainers

Sources

postgresql-5.0.0.tbz
sha256=9ccd405bf2a4811d86995102b0837f07230f30d05ed620b9d05fa66f607ef9d8
sha512=5f5780327c776d69e208efe531c0dfd2cdab900fc26f8e0db698e777b386b3cc993df3af6e1cb5805dfcd003160d7e48d5c87cc73664698e96089fe0ac24cc42

Description

Postgresql offers library functions for accessing PostgreSQL databases.

Published: 12 Feb 2021

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