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
sqlite3 bindings
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2006-07-15 (02:06)
From: Ted Kremenek <kremenek@c...>
Subject: Re: [Caml-list] sqlite3 bindings
Hi Mike,

i think there are more than one available SQLite bindings for OCaml,  
including some that are just for versions of SQLite before the API  
was changed in version 3 and others engineered directly for SQLite3.   
I am using Bárđur Árantsson's bindings that are available at:


These particular OCaml bindings in many ways directly mirror the  
SQLite3 C API; they are not a DBI-like interfaces, but work well if  
you are familiar with SQLite3.

I have modified the bindings slightly for my own needs by adding a  
few methods and fixing a few bugs (any fixes of which I plan to  
eventually contribute back to Bárđur), but it works very well with  
the latest version of SQLite3.  I am using it just fine with version  
3.3.6 of SQLite.  I have successfully used it to create database  
files of several gigabytes (populated with marshaled OCaml objects  
using Sqlite3's blob type).


On Jul 14, 2006, at 4:46 PM, Mike Lin wrote:

> Hi, does anyone know how (if) the available ocaml sqlite bindings  
> work with recent versions of sqlite (namely 3.x.x)?
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs