Version française
Home     About     Download     Resources     Contact us    

The Caml Hump: Databases

Stable

Bindings with C libraries
OCaml-MySQL [21-May-2012, version 1.1.1, Stable] Has a Godi package
A package for Objective Caml that provides access to MySQL databases.
Author: Shawn Wagner.
Native OCaml libraries
ocamldap [08-Oct-2012, version 2.2, Stable] Has a Godi package
LDAP bindings for ocaml.
Bindings with C libraries
OCamlODBC [18-Jun-2007, version 2.15, Stable] Has a Godi packageHas a documentation
Acces to databases through ODBC drivers.
Bindings with C libraries
PGOCaml [14-Jan-2013, version 1.7.1, Stable]
PG'OCaml is a type-safe, simple interface to PostgreSQL from OCaml. It lets you embed SQL statements directly into OCaml code.
Bindings with C libraries
Postgres [09-Aug-2001, version 20040120, Stable] Has a Godi package
PostgreSQL bindings for OCaml.
Author: Alain Frisch.

Beta

Tutorials
A Brief Introduction to PG'OCaml [07-Sep-2007, version 0.92, Beta]
PG'OCaml is rather lacking on the documentation front. This document aims to fill that gap, by providing an overview of the capabilities of the library, usage examples, and solutions to potential pitfalls. Moreover, it also addresses the installation of PG'OCaml, how to compile programmes that make use of the library, and the correspondence between PostgreSQL data types and their OCaml counterparts.
Author: Dario Teixeira.
Bindings with C libraries
Another OCaml-sqlite3 [31-Jul-2006, version 0.1.7, Beta]
OCaml wrapper for the Sqlite3 database library.
Native OCaml libraries
BDBFS [18-Dec-2002, version 0.3, Beta]
BDBFS is a portable, user-level NFS fileserver implemented in OCaml. BDBFS stands for Berkeley DataBase File System: it stores files, metadata (directories, inodes, the superblock) as key:value pairs using the Berkeley Database (Berkeley DB) library.
Author: Lex Stein.
Native OCaml libraries
Galax [18-Feb-2005, version 0.5.0, Beta] Has a documentationHas a tutorial
Galax is an open-source implementation of XQuery 1.0, the W3C XML Query Language. Galax closely tracks the definition of XQuery 1.0 as specified by the W3C and also implements XPath 2.0, which is a subset of XQuery 1.0.
Camlp4 extensions
Macaque [08-Oct-2012, version 0.6, Beta] Has a documentation
Macaque (Macros for Caml Queries) is a DSL for OCaml, wich produce SQL requests from a comprehension syntax. Macaque can build queries by from simpler components, using phantom types used to ensure safety.
Native OCaml libraries
OCaml MySQL Protocol [19-Mar-2012, version 0.4, Beta] Has a tutorial
Implementation of MySQL Protocol with the Bitstring library.
Native OCaml libraries
ocaml-orm-sqlite [04-Jun-2009, version 0.2, Beta] Has a documentation
The Sql_orm package provides an “Object-Relational Mapper” interface between a Sqlite3 database and OCaml.
Bindings with C libraries
OCaml-SQLite3 [26-Feb-2007, version 0.12, Beta] Has a Godi package
OCaml bindings to the SQLite 3 database access library.
Native OCaml libraries
OCamlDB [09-Aug-2001, version 0.2, Beta]
This is an early release of a DBMS driver for Objective Caml. There is a generic interface that must be instantiated with a so-called low level driver. Currently, there is only a driver for the Adabas DBMS.
Author: Gerd Stolpmann.
Bindings with PERL libraries
OCamlDBI [01-Apr-2005, version 0.9.11, Beta]
A database independent layer patterned upon Perl DBI.
Native OCaml libraries
OCMP [26-Sep-2011, version 0.1, Beta]
Implementation of MySQL Protocol with the Bitstring library.
Bindings with C libraries
OraCaml [07-Nov-2006, version 0.1, Beta] Has a documentation
This library implements an OCaml client interface for an Oracle database. The library is built on top of the OCCI C++ interface available in Oracle 10g. It is efficient and suitable for processing large volumes of data.
Author: Serge Aleynikov.
Native OCaml libraries
Riakc [20-Mar-2013, version 1.0.0, Beta]
Protobufs Riak client in Ocaml.
Author: Malcolm Matalka.

Alpha

Bindings with C libraries
Ocaml-Sqlite [16-Apr-2004, version 0.3.5, Alpha]
Bindings for accessing Sqlite databases from ocaml programs.
Bindings with C libraries
OCamlBDB [12-Nov-2002, version 0.0.1, Alpha]
A Berkeley DB wrapper for OCaml.
Bindings with C libraries
OCI8 bindings [09-Aug-2001, version 0.0.4, Alpha]
OCI8 bindings for OCaml.
Author: Mauhuur Mauhuur.

Development code

Bindings with C libraries
OCI*ML [04-Jul-2011, Development code] Has a documentation
An Oracle binding for OCaml modeled on OraTcl.
Author: Gaius Hammond.

No status

Bindings with C libraries
OCaml-FreeTDS [19-Apr-2004, version 0.2]
OCaml-FreeTDS is a binding to the ct-lib component of the FreeTDS library, to access Sybase and Microsoft (or other TDS) database servers.