Question

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?

Was it helpful?

Solution

ANCESTOR is misspelled in the query.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top