[Zope] Getting records X to X+20 of catalog search
Andreas Jung
lists at zopyx.com
Mon May 12 08:45:05 EDT 2008
--On 12. Mai 2008 16:39:02 +0800 "Sinang, Danny" <D.Sinang at spi-bpo.com>
wrote:
> Dear All,
>
> How do we get records X to X+20 of a catalog search ?
>
> We're aware of the "limit" parameter of the search () function, but this
> only gives us the top Z rows.
>
> If I want to show records 90 to 100, I'm trying to avoid having to fetch
> records 1 to 89.
Catalog operations become basically expensive when you call getObject().
Slicing the resultset first should not be harmful.
-aj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20080512/793b8e13/attachment.bin
More information about the Zope
mailing list