From: Oleg B. <ph...@ph...> - 2009-01-13 13:14:37
|
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/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |