The SQLObject documentation ( http://sqlobject.org/ SQLObject.html#selecting-multiple-objects) has this example:
start = 20 size = 10 query = Table.select() results = query [start:start+size] total = query.count() print "Showing page %i of % i" % (start/size + 1, total/size + 1)
Go visit the doc page, Ian wrote some remarks there discussing the pros/cons of this approach.
Cheers. Ronald On Oct 14, 2005, at 12:39 AM, p wrote:
does turbogears (or any component thereof) have pagination functionality built in? If so, where? If not, anyone want to point me to a good algorithm? thanks in advance, p

