Hi, I am trying to fetch all entities from datastore ordered by date. The following code does not work (hangs up). Any ideas what is wrong with it?
items = [] offset = 0 while True: tempItems = Item.all().order("date").fetch(1000, offset) items.extend(tempItems) if len(tempItems) < 1000: break offset = offset + 1 br, Tomi --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---