Hi All,
I see the error when I run this code:

query = MyModel.all()
query.filter('my_field1 >=',  123)
query.filter('my_field2 <=', 123)
print query.get()

I found this work around:

Marzia Niccolai: "You may be able to work around this by storing the
start and end date in two separate entities, and referencing one from
the other.  Then you can do one inequality filter on the start date,
and one on the end date."

From:
http://groups.google.com/group/google-appengine/browse_thread/thread/8bdfd6633191da04/a57e62589e4d6c83?lnk=gst&q=Only+one+property+per+query+may+have+inequality+filters#a57e62589e4d6c83


Can you post a query example, please?
(When I will see the example: "Is this the best work around?")

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

Reply via email to