Oleg Broytmann | 12 May 20:34
X-Face

Re: Log changes to rows

On Mon, May 12, 2008 at 12:58:37PM -0500, Jim Steil wrote:
> Is there an easy way to log CRUD changes to a table?  I know that I 
> could do it by overriding all of the update methods

   Or setup listeners for signals. SQLObject send signals almost on every
action, and even allow the listeners to setup callbacks to be called after
the action. See http://sqlobject.org/SQLObject.html#events-signals

Oleg.
--

-- 
     Oleg Broytmann            http://phd.pp.ru/            phd <at> phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

Gmane