Skip to content Skip to sidebar Skip to footer

How To Query Parent Entity From Child Entity In Google App Engine (Python) NDB/Datastore?

My question is very fundamental, I want to know straight forward and right way to access attribute values of parent entity from a child in App Engine Python. For example I have fol

Solution 1:

Use: image_instance.key.parent().get()

https://developers.google.com/appengine/docs/python/ndb/keyclass#Key_parent


Post a Comment for "How To Query Parent Entity From Child Entity In Google App Engine (Python) NDB/Datastore?"