"gasolin" <[EMAIL PROTECTED]> writes:

> The question is "How to select ten entries as a set and then offset to
> next set"?
> I tried the "Class.select(expr.., limit=10)" but nothing happen at all.

Class.select(expr)[start:end]

So, for the first 10 records:

Class.select(expr)[0:10]

and for the next 10:

Class.select(expr)[10:20]

and so on.


-- 
Jorge Godoy      <[EMAIL PROTECTED]>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to