Hi, I'd like to know if multiple equality filters on a ListProperty
leads to exploding indexes.
I have a model something like the following (python):
class Foo(db.model):
tags = db.ListProperty(db.Category)
@classmethod
def get_by_tags(cls, tags):
query = cls.all()
for tag in tags:
query.filter('tags =', tag)
return query
I'd like to know if I can filter by an arbitrary number of tags
without encountering the exploding index problem (its not clear to me
from the docs).
E.g., can I do
query = Foo.get_by_tags(['tag0', 'tag1', 'tag2', 'tag3' .... 'tagN'])
etc etc.
Thanks! Kyle
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---