This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Squile


>>>>> "Hal" == Hal Roberts <hroberts@alumni.princeton.edu> writes:

Hal> I've thrown together a simple sql interface for guile.  It has support
Hal> for both mysql and msql databases.  

Hal> You can find the package at ftp://tomato.nvgc.vt.edu/pub/squile.

Hal> Here's the README for the package:

Hal> ****
Hal> Squile 1.0-

Hal> GETTING SQUILE

Hal> You can get the latest version of squile from
Hal> ftp://tomato.nvgc.vt.edu/pub/squile

If you can ftp a copy to ftp://www.tcx.se/pub/mysql/Incoming we will move
it to the Contrib directory!

<cat>

Hal> sql-create creates a connection to the sql engine and selects the
Hal> given database.  The last three arguments are optional.  sql-create
Hal> returns a number that is the id of the newly created database.  

Hal> I know that creating new connections is relatively expensive in
Hal> comparison to just selecting different databases, but I don't
Hal> think that people often between different databases with great
Hal> frequency.  For my use, at least, the small sacrifice in time is
Hal> easily worth the increased simplicity of a single function to connect
Hal> to the sql engine and select the db.

One can always change database with the query 'use new_databases'.

<cut>

Yours,
Monty