Re: [google-appengine] Re: Is default sort order by __key__ for query without a specified order?

2011-01-07 Thread Teemu Ikonen
Is there way to get results reversed key order without custom index? That would save couple of custom indexes in searches that now use 'created' timestamp or similar property. Thanks -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post

Re: [google-appengine] Re: Is default sort order by __key__ for query without a specified order?

2011-01-07 Thread Peter Ondruska
Not that I know of. But if the returned set is not too big you can sort outside datastore. -- 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

[google-appengine] Re: Is default sort order by __key__ for query without a specified order?

2009-09-26 Thread Waldemar Kornewald
On Sep 21, 5:06 pm, Nick Johnson (Google) nick.john...@google.com wrote: Hi, Yes, all queries not explicitly sorted by __key__ implicitly end with a '__key__ asc' sort order. To Nick Johnson and Ryan Barrett: Does this apply to *all* kinds of queries? In particular, what about queries with

[google-appengine] Re: Is default sort order by __key__ for query without a specified order?

2009-09-26 Thread Nick Johnson (Google)
Hi Waldemar, On Sat, Sep 26, 2009 at 6:25 PM, Waldemar Kornewald wkornew...@gmail.comwrote: On Sep 21, 5:06 pm, Nick Johnson (Google) nick.john...@google.com wrote: Hi, Yes, all queries not explicitly sorted by __key__ implicitly end with a '__key__ asc' sort order. To Nick Johnson

[google-appengine] Re: Is default sort order by __key__ for query without a specified order?

2009-09-21 Thread Nick Johnson (Google)
Hi, Yes, all queries not explicitly sorted by __key__ implicitly end with a '__key__ asc' sort order. -Nick Johnson On Fri, Sep 18, 2009 at 12:37 PM, skyleecm skyle...@gmail.com wrote: hi, for query without a specified sort order, is the query results ordered by __key__? thanks. Cheemeng

[google-appengine] Re: Is default sort order by __key__ for query without a specified order?

2009-09-21 Thread skyleecm
thanks, Nick afaik, this bit of information is not in the App Engine documentation. Maybe, it can be added there as well. thanks. Cheemeng On Sep 21, 11:06 pm, Nick Johnson (Google) nick.john...@google.com wrote: Hi, Yes, all queries not explicitly sorted by __key__ implicitly end with a