Yeah, you can do this. You would do this with an ancestor query:

http://code.google.com/appengine/docs/python/datastore/queryclass.html#Query_ancestor

Ikai Lan
Developer Programs Engineer, Google App Engine
Blog: http://googleappengine.blogspot.com
Twitter: http://twitter.com/app_engine
Reddit: http://www.reddit.com/r/appengine



On Fri, May 27, 2011 at 12:28 PM, gwstuff <gwsa...@gmail.com> wrote:

> Hi,
>
> I have a group of models organized as an entity group because they are
> updated transactionally. While it's easy to get an entity's parent through
> the key - I was wondering if there's a way to enumerate an entity's
> children. I guess I could add a new SelfReferenceProperty field, but it
> would be nice if there were a way to get this information without creating
> additional properties.
>
> TIA
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to