How do you use the IN keyword? The datastore query API makes a few
mentions of it, but there are no examples. I thought it would allow
you to filter using a list, but a simple query like this fails with
the error "Filtering on lists is not supported":

from main.models import User
q=User.all()
q.filter('username IN',['bob','joe','steve'])
results = q.fetch(10)

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