caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Ted Kremenek <kremenek@cs.stanford.edu>
To: "Mike Lin" <mikelin@mit.edu>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] sqlite3 bindings
Date: Fri, 14 Jul 2006 19:05:33 -0700	[thread overview]
Message-ID: <9A69F031-F00F-4760-8F4A-5490711B4550@cs.stanford.edu> (raw)
In-Reply-To: <2a1a1a0c0607141646r52dee721uf9c2350fb20a812c@mail.gmail.com>

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:

http://www.imada.sdu.dk/~bardur/personal/45-programs/

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).

Ted

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


  reply	other threads:[~2006-07-15  2:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-14 23:46 Mike Lin
2006-07-15  2:05 ` Ted Kremenek [this message]
2006-07-15  2:19 ` Toby Allsopp
2006-07-20  8:45   ` Toby Allsopp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9A69F031-F00F-4760-8F4A-5490711B4550@cs.stanford.edu \
    --to=kremenek@cs.stanford.edu \
    --cc=caml-list@yquem.inria.fr \
    --cc=mikelin@mit.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).