package pgocaml

  1. Overview
  2. Docs
Interface to PostgreSQL databases

Install

Dune Dependency

Authors

Maintainers

Sources

v3.2.tar.gz
md5=48fce170e25bec6536858fd3f78d2fee
sha512=7f9c35844839df4b35083f8de18e0e55f82db80886d1f1251fa4a6bc894137da2f058c5a2e8bf3b308ed09b96120824248e8570aa1904d5247613a42ca9a8b77

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: 11 Apr 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.