package pgocaml

  1. Overview
  2. Docs
Interface to PostgreSQL databases

Install

Dune Dependency

Authors

Maintainers

Sources

pgocaml-1.7.tgz
sha256=10c120b029eb25554300a3a84c23447d3277c4f40279b5697cda40bfe81d5e3c
md5=0e38fdcda63704aaccbda3705da5838e

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: 21 Nov 2013

Dependencies (8)

  1. ocamlbuild build
  2. camlp4
  3. csv
  4. calendar >= "2.00"
  5. pcre
  6. batteries >= "2.0.0"
  7. ocamlfind build
  8. ocaml < "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.