pgocamlversion

Interface to PostgreSQL databases

PG'OCaml provides an interface to PostgreSQL databases for OCaml
applications. It uses Camlp4 to extend the OCaml syntax, enabling one
to directly embed SQL statements inside the OCaml code. Moreover, it
uses the describe feature of PostgreSQL to obtain type information
about the database. This allows PG'OCaml to check at compile-time if
the program is indeed consistent with the database structure. This
type-safe database access is the primary advantage that PG'OCaml has
over other PostgreSQL bindings for OCaml.