Re: [CDBI] How can you temporarily turn off all triggers for a class?
[prev]
[thread]
[next]
[Date index for 2006/01/31]
I've been pondering to add a support of this to Class::Trigger (the
mixin class of CDBI for triggers), but I'd say mst's hack is nice.
On 1/31/06, Peter Speltz <peterspeltz@xxxxx.xxx> wrote:
> I want to render all the triggers in a class ineffective for the
> duration of a sub routine. Anyone have a good idiom for this? In the
> data migration script, the triggers are getting in the way (creating
> things that already exist and need to be migrated and such).
>
>
> thanks.
>
>
> pjs
>
> _______________________________________________
> ClassDBI mailing list
> ClassDBI@xxxxx.xxxxxxxxxxxxxxxx.xxx
> http://lists.digitalcraftsmen.net/mailman/listinfo/classdbi
>
--
Tatsuhiko Miyagawa
_______________________________________________
ClassDBI mailing list
ClassDBI@xxxxx.xxxxxxxxxxxxxxxx.xxx
http://lists.digitalcraftsmen.net/mailman/listinfo/classdbi
|
|
Re: [CDBI] How can you temporarily turn off all triggers for a class?
Tatsuhiko Miyagawa 20:08 on 31 Jan 2006
|