Hi, I've read the GAE article on paging http://code.google.com/appengine/articles/paging.html and have a working solution but I cannot help feeling that it unnecessarily complex.
I want to page through a dataset, ordered by a signed integer value (votes). What I first tried was to store votes in an integer property and the timestamp (my paging index) in a string property, but when trying to oder by votes and filter by timestamp I am told that I cannot use an inequality filter on one field when ordering on another field beforehand (or something to that effect - I don't have the error message, sorry). Now, I am storing votes in a string property as "hex(votes)| timestamp", where hex does some extra work for negative numbers So, 10 is stored as 0000000A|20091123... such that alphabetic ordering works. This is awkward. How do you page through integers? Thanks for any help, HC -- 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=.
