Good afternoon, On 30/11/09 at 9:31 AM -0800, mohanprasad <[email protected]> wrote:
>In my database table i have to apply check constraint on a field. >from the dbix-class documentation i found unique constraints examples only. >could anyone please let me know how to apply check constraint on a field. I think you're looking for DBIx::Class::Validation. <http://search.cpan.org/perldoc?DBIx::Class::Validation> Charlie -- Ꮚ Charlie Garrison ♊ <[email protected]> 〠 PO Box 141, Windsor, NSW 2756, Australia O< ascii ribbon campaign - stop html mail - www.asciiribbon.org http://www.ietf.org/rfc/rfc1855.txt _______________________________________________ List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class IRC: irc.perl.org#dbix-class SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/ Searchable Archive: http://www.grokbase.com/group/[email protected]
