chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] Generic RDBMS Interface [Was: Re: Creating Windows G


From: Matt Welland
Subject: Re: [Chicken-users] Generic RDBMS Interface [Was: Re: Creating Windows GUI App]
Date: Fri, 01 Apr 2011 18:12:53 -0700

----- Original message -----
> 2011/4/1 Jim Ursetto <address@hidden>:
> > On Apr 1, 2011, at 7:47 AM, Thomas Chust wrote:
> >
> > > There is at least one small point that I would want to do
> > > differently, though: In my opinion it has some value if the
> > > procedure establishing the database connection has a fixed signature
> > > and driver specific information is encoded in a single argument. I'm
> > > pondering about using an URI for that purpose.
> >
> > Just use an alist.
> > [...]
>
> Maybe less practical to enter on command lines, but probably more
> schemish, yes :-)

How about a convinence function to convert the URI to an alist for those who prefer and for command line ease?

(dbi:open (dbi:uri "sqlite3:test.db"))

Matt
-=-
>
> --
> When C++ is your hammer, every problem looks like your thumb.
>
> _______________________________________________
> Chicken-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/chicken-users


reply via email to

[Prev in Thread] Current Thread [Next in Thread]