Re: Perl4caml packaged
On Thu, Feb 26, 2004 at 05:08:53PM +0000, Richard Jones wrote:
> On Thu, Feb 26, 2004 at 08:33:38AM -0600, John Goerzen wrote:
> > > FWIW there are debian/ files in the savannah.nongnu.org CVS tree for
> > > ocamldbi and mod_caml here:
> > Sweet. ocamldbi is going to be my next ITP. That's why I packaged up
> > perl4caml, in fact :-)
> > BTW: it would be really, really cool to see ocamldbi support ocamlodbc
> > as a database driver. Think it could happen? :-)
> Sure ... anything could happen! Unfortunately however my one brush
> with ODBC - namely trying to get StarOffice on Linux to talk to a
> PostgreSQL server - didn't go very well, so I haven't really worked
> ODBC out.
The OCaml ODBC interface is very simple. Too simple, in fact.
Basically, it will let you load up the entire result of a query into
RAM, optionally with column metadata. Then you just iterate over it.
There are only about 5 functions defined there.