package pgocaml

  1. Overview
  2. Docs
Interface to PostgreSQL databases

Install

Dune Dependency

Authors

Maintainers

Sources

v2.2.tar.gz
sha256=3027ca823f9f3db24475bd36e5628ee259605d72048d889be3b7e32c3e850d74
md5=37f88b0eb1db2d56e6e241d2cd6476e9

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: 08 Apr 2015

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.