http://code.google.com/appengine/docs/python/datastore/queriesandindexes.html#Restrictions_on_Queries

I am just guessing about your application, but I would drop the user
filter from the query and handle it in your app code.  Or you can run
two queries and merge the results yourself.


Robert






On Tue, Nov 9, 2010 at 11:39, ajaxer <calid...@gmail.com> wrote:
> BadFilterError: BadFilterError: invalid filter: Only one property per
> query may have inequality filters (&lt;=, &gt;=, &lt;, &gt;)..
>
> my code:
>
>    records = QMessage.all().filter('room = ', room).filter('isPrivate
> =',
>      False).filter('fromUser !=', user).filter('time > ', time)
>
> how can i solve this problem?
>
> --
> 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.
>
>

-- 
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.

Reply via email to