package pgocaml

  1. Overview
  2. Docs
Interface to PostgreSQL databases

Install

Dune Dependency

Authors

Maintainers

Sources

v2.3.tar.gz
sha256=ef8ec253a752eb31e535d845440185b95c4de31db8c5c955e79638b669af9ea2
md5=0f26e179c7c2ad32140ecb69a5f6c8a1

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: 19 Feb 2016

Dependencies (7)

  1. re
  2. ocamlfind build
  3. ocamlbuild build
  4. csv
  5. calendar >= "2.00"
  6. base-bytes
  7. ocaml >= "4.01.0" & < "5.0"

Dev Dependencies (1)

  1. ounit with-test

Used by (4)

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

Conflicts

None

OCaml

Innovation. Community. Security.