View source on GitHub |
Returns a query for all the descendants of a model instance.
google.appengine.ext.db.query_descendants(
model_instance
)
Args | |
---|---|
model_instance
|
Model instance to find the descendants of.
|
Returns | |
---|---|
Query that will retrieve all entities that have the given model instance
|
as an ancestor. Unlike normal ancestor queries, this does not include the ancestor itself.