문제

I want to get object, which listfield contains 'foo', 'bar' and 'foobar' strings. Can I do query like this

SELECT * FROM Entity WHERE listfield = 'foo' AND listfield = 'bar' AND listfiled = 'foobar'

where listfield = StringListProperty() ?

도움이 되었습니까?

해결책

One thing to note, make sure that your index.yaml file contains all the index permutations you require. Your query as above would have an index like this:

  • kind: Entity properties:
    • name: xyz
    • name: listfield
    • name: listfield
    • name: listfield

다른 팁

Yes, you can do that.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top