English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
OCaml SQLite3 bindings
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-02-16 (23:13)
From: Markus Mottl <markus.mottl@g...>
Subject: OCaml SQLite3 bindings
Hi all,

this message initially went to the OCaml-announce list, but doesn't seem to
have been distributed.

There is a new version of SQLite3-bindings for OCaml available as a
Godi-package now.  The initial version was written by Christian Szegedy
about two years ago, but does not seem to have been maintained since then.
I have improved the C-stubs to fix a few things and make the library work
better in multi-threaded environments, cleaned up the API, and documented
it.  The library is not quite backwards compatible to Christian's version,
but it should take very little effort only to update applications using it.

Just select the package "godi-sqlite3" in Godi to install the library.  You
can then link with the findlib package "sqlite3", and access the library
through module "Sqlite3".

The source code is available here:

Best regards,

P.S.: I haven't managed to get feedback from Christian yet so I don't know
whether he's fine with my changes, but it is likely that the current API
will remain stable.

Markus Mottl        http://www.ocaml.info        markus.mottl@gmail.com