in reply to A Growing Dislike for SQL-OOP Mappers
Just one word: triggers.
From the Class::DBI documentation:
Triggers are the database way of running some extension code upon creating a record and Class::DBI tries to do it in a manner as similar as possible.TRIGGERS __PACKAGE__->add_trigger(trigger_point_name => \&code_to_execute); # e.g. __PACKAGE__->add_trigger(after_create => \&call_after_create) ; It is possible to set up triggers that will be called at various point s
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: A Growing Dislike for SQL-OOP Mappers
by pg (Canon) on Aug 22, 2005 at 17:48 UTC | |
by davidrw (Prior) on Aug 22, 2005 at 19:22 UTC | |
by jk2addict (Chaplain) on Aug 22, 2005 at 19:51 UTC | |
Re^2: A Growing Dislike for SQL-OOP Mappers
by jk2addict (Chaplain) on Aug 22, 2005 at 16:06 UTC |
In Section
Meditations