From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 5DC15BB84 for ; Sat, 15 Jul 2006 04:06:12 +0200 (CEST) Received: from smtp1.stanford.edu (smtp1.Stanford.EDU [171.67.22.28]) by nez-perce.inria.fr (8.13.6/8.13.6) with ESMTP id k6F26BbV012294 for ; Sat, 15 Jul 2006 04:06:12 +0200 Received: from smtp1.stanford.edu (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with SMTP id C54004C985 for ; Fri, 14 Jul 2006 19:06:09 -0700 (PDT) Received: from keeda.stanford.edu (keeda.Stanford.EDU [171.64.72.55]) by smtp1.stanford.edu (Postfix) with ESMTP id 3972B4C794 for ; Fri, 14 Jul 2006 19:06:09 -0700 (PDT) Received: from localhost.stanford.edu ([127.0.0.1] ident=kremenek) by keeda.stanford.edu with esmtp (Exim 4.62) (envelope-from ) id 1G1ZXl-000818-5L; Fri, 14 Jul 2006 19:06:09 -0700 In-Reply-To: <2a1a1a0c0607141646r52dee721uf9c2350fb20a812c@mail.gmail.com> References: <2a1a1a0c0607141646r52dee721uf9c2350fb20a812c@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v750) Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Message-Id: <9A69F031-F00F-4760-8F4A-5490711B4550@cs.stanford.edu> Cc: caml-list@yquem.inria.fr Content-Transfer-Encoding: quoted-printable From: Ted Kremenek Subject: Re: [Caml-list] sqlite3 bindings Date: Fri, 14 Jul 2006 19:05:33 -0700 To: "Mike Lin" X-Mailer: Apple Mail (2.750) X-Miltered: at nez-perce with ID 44B84D93.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; bindings:01 bindings:01 ocaml:01 api:01 sdu:01 ocaml:01 api:01 marshaled:01 beginner's:01 beginners:01 bug:01 engineered:98 wrote:01 caml-list:01 caml-list:01 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=SPF_SOFTFAIL autolearn=disabled version=3.0.3 Hi Mike, i think there are more than one available SQLite bindings for OCaml, =20 including some that are just for versions of SQLite before the API =20 was changed in version 3 and others engineered directly for SQLite3. =20= I am using B=E1r=F0ur =C1rantsson'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 =20 SQLite3 C API; they are not a DBI-like interfaces, but work well if =20 you are familiar with SQLite3. I have modified the bindings slightly for my own needs by adding a =20 few methods and fixing a few bugs (any fixes of which I plan to =20 eventually contribute back to B=E1r=F0ur), but it works very well with =20= the latest version of SQLite3. I am using it just fine with version =20 3.3.6 of SQLite. I have successfully used it to create database =20 files of several gigabytes (populated with marshaled OCaml objects =20 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 =20 > 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