package pgocaml

  1. Overview
  2. Docs
Interface to PostgreSQL databases

Install

Dune Dependency

Authors

Maintainers

Sources

v3.1.tar.gz
md5=d93862e6b8eaae929580ef7c187cc448
sha512=f0eccedd2960ca8a49bb4ab36636653c73e7363fd0c7a4f64dfab768ffdf36bebdea60d82728dbec2072e46293ac7d7e58edfa472e367edf50918c931bfbd6de

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

Dev Dependencies (1)

  1. ounit with-test

Used by (4)

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

Conflicts

None

OCaml

Innovation. Community. Security.