[Dbix-class] Constraints
Matt S Trout
dbix-class at trout.me.uk
Tue Nov 22 19:39:29 CET 2005
On Tue, Nov 22, 2005 at 10:54:27AM -0500, Christopher H. Laco wrote:
> When converting from CDBI to DBIC (non Compat), what is everyone doing
> with the old add_constraint methods?
I'm not, generally, because I rely on form validation and db checking
mostly. You might like to look at taking the CDBICompat constraints stuff
and writing an override to either set_column/store_column that does the
validation on the way in ...
--
Matt S Trout Specialists in Perl consulting, web development, and
Technical Director UNIX/Linux systems architecture and automation. Mail
Shadowcat Systems Ltd. mst (at) shadowcatsystems.co.uk for more information
+ Help us build a better perl ORM: http://dbix-class.shadowcatsystems.co.uk/ +
More information about the Dbix-class
mailing list