문제

I am trying to implement this example in my app: https://developers.google.com/appengine/docs/python/datastore/structuring_for_strong_consistency

I keep getting an error that says: BadQueryError: Parse Error: "IS" can only be used when comparing against "ANCESTOR" at symbol :1

which refers to this line in my code:

result = db.GqlQuery("SELECT * FROM Image WHERE ANCESTER IS :1", get_gallery_key())

Any ideas why?

도움이 되었습니까?

해결책

ANCESTOR is misspelled in the query.

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