I see! Feels like GAE needs special attention in comparisons to other DB. I ask myself if this is worth. I personally think so, and would like to help more.
On Jan 5, 1:55 am, mdipierro <mdipie...@cs.depaul.edu> wrote: > There is one problem though. The delete cascade cannot be done in a > trasaction so there is the possibility that if many entities are > deleted and takes time and the request timeout, you end up with > partial deletion. We'll have to try it. > > On Jan 4, 9:53 pm, mdipierro <mdipie...@cs.depaul.edu> wrote:> It will > probably be transparent. No special code. I will try implement > > this tomorrow. > > > On Jan 4, 9:35 pm, yamandu <yamandu.co...@gmail.com> wrote: > > > > First, thanks so much again for quick answer Massimo! > > > > But I am not sure if I understood. Will be a there way to do so? > > > Will it be normally transparent or have to write special code to GAE? > > > > On Jan 4, 4:04 pm, mdipierro <mdipie...@cs.depaul.edu> wrote: > > > > > I found a way to implement this db.delete(top.bottom_set) > > > > I will add it to the new DAL. > > > > > On Jan 4, 12:00 pm, mdipierro <mdipie...@cs.depaul.edu> wrote: > > > > > > No it does not. Now that you bring this up, we could implement it as > > > > > we did for sqlite but because of GAE limitations in accessing no more > > > > > than 1000 records at the time this may be very slow and inefficient. > > > > > It may also fail if you have a lot of referencing records. I think on > > > > > GAE you have to delete them manually. > > > > > > On Jan 4, 11:25 am, yamandu <yamandu.co...@gmail.com> wrote: > > > > > > > Maybe it´s another stupid question but I need to be sure. > > > > > > Does delete cascade work on GAE? > > > > > > If no there´s a recommended way to do this? Or a turn around?
-- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.