On Fri, Oct 3, 2008 at 5:36 AM, Venkatesh Rangarajan
<[EMAIL PROTECTED]> wrote:
> Theo,
>
> that will not work. It will aways get the same 1000..and the only thing
> offset does is get 1 to 100 or 100 to 200.
>
> Tony : Well, i have a simple search
> http://payrate.appspot.com/infosys_salary
>
> This search returns more than 1000 records..who do i show them all ? My page
> explodes after page 10
Wihtout knowing exactly what "explodes" means in this context:
if you need to page more than 1000 results, you need to add a
condition to your query to perform manual pagination (that is: filter
by the query current conditions plus a condition telling that whatever
field needs to be bigger than the item at position n [where n is
elements/page])
That is: you have to do it by hand... I think
http://sites.google.com/site/io/building-scalable-web-applications-with-google-app-engine
has some slides showing how to paginate (you can take them as example)
best,
Jose
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google App Engine" 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/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---