[Dbix-class] applying check constraint

Charlie Garrison garrison at zeta.org.au
Tue Dec 1 02:54:00 GMT 2009


Good afternoon,

On 30/11/09 at 9:31 AM -0800, mohanprasad <mohan at thebizmo.com> 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 ♊ <garrison at zeta.org.au>
   〠 PO Box 141, Windsor, NSW 2756, Australia

O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
http://www.ietf.org/rfc/rfc1855.txt



More information about the DBIx-Class mailing list