> -Original Message-
> > If I do:
> > table.delete(id)
> > ... I would need some automatic cleanup actions.
> > Where should I put them?
>
>First, you can use row.destroySelf() instead of
> Table.delete(id). You can also listen to RowDestroySignal event.
It works with events, except
On Thu, Jan 15, 2009 at 11:27:06AM +0100, Zoran Bosnjak wrote:
> What do you think of introducing a few more SQLObject methods, like:
> _update(self, **kw)
It is called .set(). Be aware it is not called for a single attribute
setting.
> _del(self)
.destroySelf()
Oleg.
--
Oleg Broytm
> > What do you think of introducing a few more SQLObject methods, like:
> > _update(self, **kw)
>
>It is called .set(). Be aware it is not called for a
> single attribute setting.
Why not? Is this a bug?
> > _del(self)
>
>.destroySelf()
This method is not called from "deleteMany". T
On Thu, Jan 15, 2009 at 12:52:21PM +0100, Zoran Bosnjak wrote:
> > > What do you think of introducing a few more SQLObject methods, like:
> > > _update(self, **kw)
> >
> >It is called .set(). Be aware it is not called for a
> > single attribute setting.
>
> Why not? Is this a bug?
Magic
%yy--n---(httdfgjjgkhkgjhjhnn riyytthtyuugihjhjjvbvvkfd((B
-Original Message-
From: Oleg Broytmann
Sent: Thursday, January 15, 2009 4:35 AM
To: Zoran Bosnjak
Cc: sqlobject-discuss@lists.sourceforge.net
Subject: Re: [SQLObject] object destroy
On Thu, Jan 15, 2009 at 11:27:06AM +01