[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] DBI
From: |
Graham Fawcett |
Subject: |
Re: [Chicken-users] DBI |
Date: |
Thu, 28 Feb 2008 09:47:08 -0500 |
On Thu, Feb 28, 2008 at 4:11 AM, Peter Bex <address@hidden> wrote:
> On Wed, Feb 27, 2008 at 02:27:36PM -0800, Vincent Manis wrote:
> > On 2008 Feb 27, at 13:27, Graham Fawcett wrote:
> > > At the driver level, LOBs are often handled with a stream-based
> > > interface. For an LOB, I'd suggest representing it with a a thunk
> > > which, when evaluated, returns an input stream, Chicken blob or a
> > > string. That would allow you to inspect the other column values before
> > > deciding whether to evaluate the LOB.
> > +1. -- vincent
> I assume with "input stream" you mean "input port"? (With "stream", I
> think of SRFI-40/41)
>
> In that case, +1.
Yes, input port was what I was thinking. Thanks. The input port would
return the body of the LOB and return #!eof when it's consumed.
The "Chicken blob or string" options are redundant, so the revised
proposal is to represent a LOB with a thunk that evaluates to an input
port.
Graham
- Re: [Chicken-users] New immediate values (was: DBI), (continued)
- Re: [Chicken-users] New immediate values (was: DBI), Thomas Chust, 2008/02/29
- Re: [Chicken-users] New immediate values (was: DBI), John Cowan, 2008/02/29
- Re: [Chicken-users] DBI, felix winkelmann, 2008/02/29
- Re: [Chicken-users] DBI, Graham Fawcett, 2008/02/29
- Re: [Chicken-users] DBI, Tobia Conforto, 2008/02/29
- Re: [Chicken-users] DBI, Graham Fawcett, 2008/02/27
- Re: [Chicken-users] DBI, Vincent Manis, 2008/02/27
- Re: [Chicken-users] DBI, Peter Bex, 2008/02/28
- Re: [Chicken-users] DBI,
Graham Fawcett <=
- Re: [Chicken-users] DBI, Peter Bex, 2008/02/28
- Re: [Chicken-users] DBI, Graham Fawcett, 2008/02/28
- Re: [Chicken-users] DBI, Peter Bex, 2008/02/28
- Re: [Chicken-users] DBI, Graham Fawcett, 2008/02/28
- Re: [Chicken-users] DBI, Ozzi Lee, 2008/02/27
- Re: [Chicken-users] DBI, Alaric Snell-Pym, 2008/02/28
Re: [Chicken-users] DBI, Vincent Manis, 2008/02/27
Re: argument against using '() for null values? ([Chicken-users] DBI), Ozzi, 2008/02/27