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

RE: scsh in PLT Scheme?

Databases are about set operations. If you want data you ask for it. If you
only want a subset you only ask for a subset. If you want to do updates use
set operations to update on the server.

Default behavior should be to deliver the set requested.


> -----Original Message-----
> From: owner-plt-scheme@fast.cs.utah.edu
> [mailto:owner-plt-scheme@fast.cs.utah.edu]On Behalf Of MJ Ray
> Sent: Tuesday, April 02, 2002 4:32 PM
> To: Bruce Butterfield
> Cc: plt-scheme@fast.cs.utah.edu
> Subject: Re: scsh in PLT Scheme?
> Bruce Butterfield:
> > I would argue that often it is necessary to walk through large sets of
> > query data on a row-by-row basis to do some external processing
> I can see two options, really: use cursors as you say to batch
> the transfer
> to scheme for processing, which could probably be implemented inside the
> DB:for-each interface (although I wouldn't want to be the person to try to
> do that); embed scheme into your database and pass it a function to use.
> Is there another good solution which offers something the above doesn't?
> --