[google-appengine] Re: ndb Query using parent?

2013-06-25 Thread timh
Use an ancestor query https://developers.google.com/appengine/docs/python/ndb/queries#ancestor On Wednesday, June 26, 2013 7:48:42 AM UTC+8, Pumplerod wrote: > > put another way... > > If I have a list "members" which are all of class ItemIndex, can I search > through and pull out just the ones

[google-appengine] Re: ndb Query using parent?

2013-06-25 Thread Pumplerod
put another way... If I have a list "members" which are all of class ItemIndex, can I search through and pull out just the ones who's parent is of a given "type" without having to use a loop? On Tuesday, June 25, 2013 4:45:15 PM UTC-7, Pumplerod wrote: > > I have this type of Model... > > class