Hi!
I have datastore model with one listproperty field and some other
string fields.
Example entity:
X.some_set = range(50)
X.binary = True
X.category = "category_test"
How can i make a query to find entity containing 5, 13 and 10 in
some_set,
where length of [5, 13, 10] list is unknown?
Only way I know after reading documentation is something like
query.filter("binary", True)
request_set = [ 5, 13, 10 ]
for x in request_set:
query.filter("some_set", x)
it would be ok for me, but this requires indexes for every list
length:
- kind: SomeModel
properties:
- name: some_set
- kind: SomeModel
properties:
- name: some_set
- name: some_set
- kind: SomeModel
properties:
- name: some_set
- name: some_set
- name: some_set
and so on for every field combination.
Is there any other way to make crossing sets queries?
--
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.