On Tue, Jan 13, 2009 at 12:37:58PM +0100, Zoran Bo??njak wrote:
> Is there any sqlobject method which is called when object is deleted (oposite
> method to "_init")?
>
> 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.
Oleg.
--
Oleg Broytmann http://phd.pp.ru/ [email protected]
Programmers don't die, they just GOSUB without RETURN.
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
sqlobject-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss