pgocaml

AuthorRichard W.M. Jones <rich@annexia.org>
LicenseLGPL-2.0 with OCaml linking exception
Homepagehttp://pgocaml.forge.ocamlcore.org/
Issue Trackerhttps://github.com/darioteixeira/pgocaml/issues
MaintainerDario Teixeira <dario.teixeira@nleyten.com>
Dependencies
&base-bytes
calendar
csv
ocamlbuild
ocamlfind
ounit
re
Optional dependencies
camlp4
Availableocaml-version >= "4.01.0"
PublishedFeb 18, 2016
Source [http] https://github.com/darioteixeira/pgocaml/archive/v2.3.tar.gz
0f26e179c7c2ad32140ecb69a5f6c8a1
StatisticsInstalled 115 times last month.
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/pgocaml/pgocaml.2.3/opam

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.