Page
Library
Module
Module type
Parameter
Class
Class type
Source
PostgreSQL-OCaml is an OCaml library that provides a type-safe interface to PostgreSQL, a reliable and efficient open-source relational database. It replicates almost all functionality available through the C-API (libpq
) using objects to represent database connections and query results.
The OCaml API, detailed in lib/postgresql.mli
, is well-documented. You can generate HTML documentation with make doc
, or access it online.
For more information on interacting with PostgreSQL, refer to the PostgreSQL documentation. The examples
directory contains concise OCaml examples that are ideal for beginners.
To report bugs, request features, or contribute, please use the GitHub issue tracker.
For the latest updates, visit: https://mmottl.github.io/postgresql-ocaml