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