Hi Pau,
  If you are using entity groups, you'll need to add a reference
property (or some similar idea) so that you can query for 'direct'
descendants, 'B' and 'C', of 'A'.


Robert






On Mon, May 9, 2011 at 18:05, Pau <andos...@gmail.com> wrote:
> Hi, I create a hirarchy data in datastore using parents. For example:
> A ... childs : B, C
> B ... childs : D, E
> C ... childs : F, G
>
> Now, I would like select childs of A using ANCESTOR IS, but the query return 
> all descendants (B, C, D, E, F and G). Do you know how I can retrieve only 
> the direct childs of A (B and C)?
>
> Thank you very much!
>
> Pau
>
> --
> 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