package pgocaml

  1. Overview
  2. Docs
Interface to PostgreSQL databases

Install

Dune Dependency

Authors

Maintainers

Sources

pgocaml-2.0.tgz
sha256=83ed7f50e009c8b3b44c92d58fdec919a7c719f9a00f3f360b5b194524736a7f
md5=af032551815015a2d5845b8b3a6db954

Description

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.

Published: 28 May 2014

Dependencies (7)

  1. ocamlbuild build
  2. camlp4
  3. csv
  4. calendar >= "2.00"
  5. pcre
  6. ocamlfind build
  7. ocaml >= "4.00.0" & < "4.06.0"

Dev Dependencies

None

Used by (3)

  1. macaque = "0.7.1"
  2. ocsigenserver >= "2.8" & < "5.0.1"
  3. ocsipersist-pgsql

Conflicts

None

OCaml

Innovation. Community. Security.