sqlite3-ocaml /

Filename Size Date modified Message
50 B
385 B
3.9 KB
1.3 KB
163 B
2.1 KB
205 B
2.5 KB
510 B
147.9 KB
1.1 KB
5.5 KB
7.4 KB
17.2 KB
28.2 KB
SQLite3 bindings for Objective Caml

  Copyright (c) 2005 Christian Szegedy <>

  Copyright (c) 2007 Jane Street Holding, LLC
                     1 New York Plaza, 33rd Floor
                     New York, NY 10004
                     Author: Markus Mottl <>

  Copyright (c) 2007 Enrico Tassi <>


  * SQLite 3 database library wrapper for OCaml.

  * SQLite 3 is available from

  * This wrapper is written in a way that enables a friendly coexistence
    with the old (version 2) sqlite and its OCaml wrapper ocaml-sqlite.


  * OCaml 3.09 or above (older versions are not checked but might work)

  * ocamlfind

  * SQLite library (tested on 3.3.3 version)

    * libsqlite3.a installed in /usr/lib or /usr/local/lib. If it
      is installed somewhere else, modify accordingly.

    * sqlite3.h installed in /usr/include or /usr/local/include.
      If it is installed anywhere else, modify accordingly.

    * For versions other than 3.3.3 the wrapping of error codes should
      be checked.


  To build and install the bindings:

    ./configure   # Makefile & META files
    make bytecode # bytecode library
    make opt      # native library
    make doc      # documentation
    make all      # both native and bytecode
    make install  # install
    make remove   # uninstall

  To build the test examples:

    cd test

    # execute one of:

    ocamlfind ocamlopt -package sqlite3 -linkpkg
    ocamlfind ocamlopt -package sqlite3 -linkpkg
    ocamlfind ocamlopt -package sqlite3 -linkpkg
    ocamlfind ocamlopt -package sqlite3 -linkpkg


  The package is released under the MIT license, see COPYING file for


  Enrico Tassi contributed support for user-defined scalar functions.

  Markus Mottl rewrote Christian's bindings for Jane Street Holding to
  clean up a few things and to make it perform better in multi-threaded

  Christian Szegedy wrote the initial release for SQLite version 3.

  Mikhail Fedotov wrote ocaml-sqlite for SQLite version 2.
  His binding served as a reference for this wrapper, but sqlite3
  is written completely from scratch since the C interface changed

LINKS: - OCaml language - SQLite library