I think it's more complex because records in the same table are not in the same entity group by default. You need to also give records the same parent. However there are downsides to putting many records in the same entity group. I am getting my head around this at the moment.
http://code.google.com/appengine/docs/python/datastore/keysandentitygroups.html On Nov 13, 8:34 am, mdipierro <[email protected]> wrote: > You are right. It is more subtle than what I said. Still. You can use > them with web2py using run_in_transition and normal web2py API. > > On Nov 12, 1:26 pm, Vasile Ermicioi <[email protected]> wrote: > > > "All datastore operations in a transaction must operate on entities in the > > same entity group. This includes querying for entities by ancestor, > > retrieving entities by key, updating entities, and deleting entities." > > I understand that transactions are limited only to one table, not on one > > record > > > On Thu, Nov 12, 2009 at 9:19 PM, Vasile Ermicioi <[email protected]> wrote: > > > thank you > > > > On Thu, Nov 12, 2009 at 9:07 PM, mdipierro <[email protected]>wrote: > > > >> P.S. you can do that with web2py too suing run_in_transaction and your > > >> function that acts on one record only using normal web2py apis. > > > >> On Nov 12, 12:59 pm, mdipierro <[email protected]> wrote: > > >> > only transactions within the same record. > > > >> > On Nov 12, 12:44 pm, elffikk <[email protected]> wrote: > > > >> > > Hi, > > > >> > > A while ago I read in web2py manual that gae doesn't support > > >> > > transactions > > >> > > I found this linkhttp:// > > >> code.google.com/appengine/docs/python/datastore/transactions.html > > >> > > Quite confused.. Any one can tell me more about? > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" 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/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

