[CDBI] How can you temporarily turn off all triggers for a class?
miyagawa at gmail.com
Tue Jan 31 20:08:41 GMT 2006
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 at gmail.com> 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).
> ClassDBI mailing list
> ClassDBI at lists.digitalcraftsmen.net
More information about the ClassDBI