Re: What's the canoninical way of dealing with a NOT NULL column?

[prev] [thread] [next] [Date index for 2004/08/03]

From: Branislav Zahradnik
Subject: Re: What's the canoninical way of dealing with a NOT NULL column?
Date: 12:01 on 03 Aug 2004
Ian McDonald-ONLINE wrote:
> I've solved my problem: I was trying to do an INSERT without giving a 
> value for a NOT NULL column.
>  
> I tried adding __PACKAGE__->constrain_column( PARENT => qr/\S/ ) for the 
> relevant column, but that didn't help. (I guess it doesn't check columns 
> for which no value is given.)
>  
> Perhaps I'm not looking hard enough, but I can't find an answer in the 
> documentation or the list archives.
>  

maybe you want to search documentation for "before_create" trigger :-)

barney

Re: What's the canoninical way of dealing with a NOT NULL column?
Branislav Zahradnik 12:01 on 03 Aug 2004

Generated at 11:34 on 01 Dec 2004 by mariachi v0.52