package postgresql

  1. Overview
  2. Docs
Bindings to the PostgreSQL library

Install

Dune Dependency

Authors

Maintainers

Sources

postgresql-4.6.2.tbz
sha256=4bc5684dbfc3ed060841d1fc28e92f7725d9b8761d198f5c9c24a9987e8eb209
sha512=576c6b761efc88fad4a1aee481d776ab7a2854abbaa11c13e4ce65ef7f8c3ab04afd12f499ef998592a8b2ada17ef450b3b0548323930b1b403a0191be50666a

Description

Postgresql offers library functions for accessing PostgreSQL databases.

Published: 05 Aug 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