[google-appengine] Re: Question about transactions and Entity Groups

2009-03-19 Thread djidjadji
Why do you need a transaction for this operation? To create B objects that are children of some A use a=A() a.put() # create the parent object bObjs = [B(parent=a, somestring=s) for s in somelist] db.put(bObjs) 2009/3/19 Anonymous Coderrr greedw...@gmail.com: Hi, The documentation for

[google-appengine] Re: Question about transactions and Entity Groups

2009-03-19 Thread Anonymous Coderrr
Data integrity - I want this to be atomic.. I do not want either A or the list of B's saved if the other fails to save. On Mar 19, 3:16 pm, djidjadji djidja...@gmail.com wrote: Why do you need a transaction for this operation? To create B objects that are children of some A  use a=A()