[CDBI] Using before_update trigger to history

Bill Moseley moseley at hank.org
Sat Jan 21 07:59:23 GMT 2006


On Fri, Jan 20, 2006 at 07:14:47PM -0600, Peter Speltz wrote:
> I'm curious about this too. The code below is certainly undesireable
> to me and gave me a big headache.  But maybe your requirements demand
> that.  If an object has its own history table i  dont see why  you
> could not just do a copy .

I didn't try copy  because I thought at the time of the update_trigger
the copy would either fetch the existing (and already changed) object,
or might update the object I was about to write.

-- 
Bill Moseley
moseley at hank.org





More information about the ClassDBI mailing list