package pgocaml

  1. Overview
  2. Docs
Interface to PostgreSQL databases

Install

Dune Dependency

Authors

Maintainers

Sources

v3.0.tar.gz
md5=d4944ff47c0605da0891ba683aba7ac2
sha512=e56e263a11c6246643feb51bcfa9409d198f402c32c1327786aac18e76e536bcb30183bddfa72768e69fedc7399517181d217772212eba4d53a97025066f3ef8

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: 26 Mar 2019

Dependencies (8)

  1. re
  2. ocamlfind build
  3. ocamlbuild build
  4. hex
  5. csv
  6. calendar >= "2.00"
  7. base-bytes
  8. ocaml >= "4.01" & < "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.