cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Ball <ba...@webslingerZ.com>
Subject Re: draft final version of the esql namespace
Date Thu, 09 Nov 2000 02:34:42 GMT
On Wed, 8 Nov 2000, Matt Sergeant wrote:

> > it's not two different ways of executing SQL, it's two different results
> > templates being instantiated - one in the case of a _set_ of rows being
> > returned, one in the case of a _number_ of rows being returned. bear in
> > mind, the esql logicsheet has _no_ idea what sort of SQL it's executing,
> > the only information it's got to go on is the type of results that are
> > returned. isn't there something similar in the perl DBI world?
> 
> No, DBI is agnostic about that. Every kind of statement preparation
> returns a statement handle, which you then execute, and finally fetch
> results from. Any sort of update will simply not return any rows (but set
> the rows property for the number of rows updated). Thats where I'm coming
> from... Maybe esql is similar and I haven't looked close enough...

how do you distinguish between a query which returns an empty resultset
v.s. an (update) query which returns no rows (updated)?

- donald


Mime
View raw message