Then, how can I do the hot thing? The image class has a datetime property 'date' and a int property 'liked'. I need to get the images after yesterday and then order them by liked. Thanks.
On Tue, Jan 20, 2009 at 1:58 PM, ryan <[email protected]<ryanb%[email protected]> > wrote: > > On Jan 20, 6:05 am, "Barry Hunter" <[email protected]> > wrote: > > Its not strictly a gql limitation, but rather a datastore limitation. > > > > http://code.google.com/appengine/docs/python/datastore/queriesandinde... > > correct. if you have both inequality filter(s) and sort order(s), the > first sort order must be on the same property as the inequality filter > (s). this is a fundamental datastore limitation, unfortunately, and > one that we have no plans to remove any time soon. > > > If your 'date' property really is a date, and not a date+time, you > > should be ok. > > actually, this limitation is unrelated to property type. (hopefully > i'm just misunderstanding your point here...) > > > > -- Stay hungry,Stay foolish. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
