Hi there !
I am using Google App Engine for severals times now but I'm stuck about a
querying issue.
Here's my concern :
I have two classes, lets say class A and class B. Class A have a referenced
property on class B (classBproperty).
I have a collection of class B objects and I want to get all class A which
referenced one of the class B contained in my classB collection.
Here's what I managed to do :
classBcollection = [...] # Collection of class B here
classB_keys = []
for obj in classBcollection:
classB_keys.append(obj.key().id())
q = classA.all()
q.filter("classBproperty.__key__ IN ", classB_keys)
My point is that this returns an empty list even though in my datastore, I
have several class A that referenced class B objects contained in my
collection.
It would be very nice if I can I have any help to figure out this ?
Thanks !
Ben
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.