That's what I thought and thanks. I don't think the google datastore documents detail these issues in enough detail. If they do they are spread out over multiple documents. I wish they were codified and in one place.
Anyway, I had the problem that I originally posted about, ordering descending on a key's id but of course the results were coming back in descending order grouped by their parent key, not their own key. These entities were made children out of convenience, not necessity, so once I refactored the code and removed them from the entity groups it all worked and ordering was restored to descending on their keys. Thank you & to all who have contributed to this thread. Jeff On Fri, Sep 10, 2010 at 8:19 PM, Geoffrey Spear <geoffsp...@gmail.com>wrote: > > > On Sep 10, 1:09 pm, Jeff Schwartz <jefftschwa...@gmail.com> wrote: > > Thank you, Nick. What about applying a filter in these cases? Will key > > ordering be ignored if I also try to apply a filter on a 'real' property? > > Thanks. > > > > Jeff > > Jeff, > > If you apply an inequality filter, the results must be sorted on the > property you're filtering by first. Queries including only equality > filters will, I believe, remain sorted by key by default (and can be > sorted on any property, although a custom index might be required.) > > -- > 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-appeng...@googlegroups.com. > To unsubscribe from this group, send email to > google-appengine+unsubscr...@googlegroups.com<google-appengine%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > > -- -- Jeff -- 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-appeng...@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.