Hi, I'm not sure if it's what you're looking for, but parent-child relationships are best modeled by using a property on the child entity, which adds a new property to the parent.
So for: class Company: pass class Employee: name = db.StringProperty() company = db.ReferenceProperty(Company, collection_name="employees") ... instances of Company will have an "employees" property which will result in a query for all Employee instances the reference the company. The article below has some great details on creating entity relationships: http://code.google.com/appengine/articles/modeling.html thanks M On Feb 2, 2:39 pm, dbikard <[email protected]> wrote: > Is there something like a ReferenceListProperty? Is there a way to > have in a model a property which would be a list of references to > other model entities? If it's not possible, is there a way to achieve > the same thing differently? > > Thx a lot! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---
