You can use the method as described in [1] to walk over all your entities
(following a bit of pseudo code)
result = Model.all().filter('__key__ >=', val).fetch(11)
db.put(result[:10]) #Put back the first 10
if len(result)==11: newval = result[10].key()
If you just use a single filter all the objects will get in the result
variable after all iterations.
[1] http://code.google.com/appengine/articles/update_schema.html
2009/1/29 Tarek <[email protected]>:
>
> Marzia,
>
> I'll have to figure out how to re-put these entities, since the only
> practical way of finding them is to run the query, but then the query
> won't find them anyway. I'll need an alternative way.
>
> - Tarek
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---