[google-appengine] Re: How-To Do Paging on App Engine

2009-01-27 Thread conman

yes, you are right, this is even better :)

Tx for the tip!

Constantin

On 26 Jan., 19:32, ryan  wrote:
> agreed, that would definitely help prevent multiple created values.
> using a guid generator would be even better.
>
> having said that, paging on "created" properties like that aren't
> really necessary now that we have __key__ filters and sort orders:
>
> http://code.google.com/appengine/docs/python/datastore/queriesandinde...
>
> they can be used manually, but i've also described a general way to
> use them to support scalable paging with any query:
>
> http://groups.google.com/group/google-appengine/browse_thread/thread/...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: How-To Do Paging on App Engine

2009-01-26 Thread ryan

agreed, that would definitely help prevent multiple created values.
using a guid generator would be even better.

having said that, paging on "created" properties like that aren't
really necessary now that we have __key__ filters and sort orders:

http://code.google.com/appengine/docs/python/datastore/queriesandindexes.html#Queries_on_Keys

they can be used manually, but i've also described a general way to
use them to support scalable paging with any query:

http://groups.google.com/group/google-appengine/browse_thread/thread/ee5afbde20e13cde
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---