[google-appengine] Three questions about AppEngine datastore and benefits / cost of EntityGroups?

2009-11-22 Thread Enrique Perez
I understand EntityGroups allow you to use transaction management across multple writes of different kinds. This is clear benefit but I am trying to understand some more subtle benefits/costs of using EntityGroups. Question 1: When you define a chain of ownership between an entity and child

Re: [google-appengine] Three questions about AppEngine datastore and benefits / cost of EntityGroups?

2009-11-22 Thread Robert Kluin
Enrique, Q1: The datastore stores members of the same entity group together. If I correctly understand what you are asking, the entity group is defined by the child entity itself. In other words book does not contain chapters, but rather each chapter knows which book (if any) is its parent.