[Zope] total number of batches (pages)

Trevor Toenjes zope@toenjes.com
Sun, 28 Apr 2002 23:32:09 -0400


Is there a built-in to determine how many batches(pages) are returned from a
query?

or do I have to ...
batch_size_max=sequence-step-size
batches_total="(_.len(results)-1)/batch_size_max+1"

Thanks,
Trevor