perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Angus Lees <...@inodes.org>
Subject Re: RH 9.0 RPMs - Query Results Question
Date Thu, 22 May 2003 22:22:09 GMT
At Thu, 22 May 2003 12:36:40 +0200, Robert  wrote:
> You'll have to do it manually. If the query is fast, use Limit/Offset or 
> equivalent otherwise Embperl::Session is your friend. And take a look at 
> DBIx::Recordset. BTW, it would be nice extension to Recordset - Gerald?

see the DBIx::Recordset->PrevNextForm function for a wrapper into the
Limit/Offset method.

also read Intrors.pod from DBIx::Recordset for a worked embperl
example.


grabbing all the results in one go, storing it in %udat somewhere and
then displaying only a certain range of the precached results should
be quite straightforward to implement yourself.

the cost of repeatedly retrieving such a large stored session might
well be more than the cost of redoing your search query though.

-- 
 - Gus

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message