On Mar 19, 3:01 pm, Anonymous Coderrr <[email protected]> wrote: > > The documentation for entity-groups and transactions say that entities > must all be in the same eneity group for transaction operations to > work. But it does not specifically say how to put entities in the > same entity group, other than some mention of setting the same parent, > which it also does not say how to do.
the parent part is definitely the key. in this case, each B entity should be created with the A entity as its parent. that's done with the parent argument in the Model constructor: http://code.google.com/appengine/docs/python/datastore/modelclass.html#Model you're right that the entity group doc, http://code.google.com/appengine/docs/python/datastore/keysandentitygroups.html , should probably link to the Model constructor doc. i'll go do that now. thanks! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
