GQL Request BadArgument Error. How to get around with my case?

Posted by awegawef on Stack Overflow See other posts from Stack Overflow or by awegawef
Published on 2010-03-15T17:24:02Z Indexed on 2010/03/15 17:49 UTC
Read the original article Hit count: 213

Filed under:
|
|

My query is essentially the following:

entries=Entry.all().order("-votes").order("-date").filter("votes >", VOTE_FILTER).fetch(PAGE_SIZE+1, page* PAGE_SIZE)

I want to grab N of the latest entries that have a voting score above some benchmark (VOTE_FILTER). Google currently says that I cannot filter on 'votes' because I order by 'date.' I don't see a way that I can do this the way I want to, so I'd appreciate any advice.

© Stack Overflow or respective owner

Related posts about google-app-engine

Related posts about python