[Dbix-class] is_nullable

Ronald J Kimball rkimball+dbixclass at pangeamedia.com
Wed Mar 18 18:44:24 GMT 2009


Dermot wrote:
> 2009/3/18 Ronald J Kimball <rkimball+dbixclass at pangeamedia.com>:
>> Dermot wrote:
>> is_nullable => 0 and NOT NULL mean the same thing, don't they?
>>
> 
> I think it's one of them there double negatives :)
> 
> is_nullable
>     Set this to a true value for a columns that is allowed to contain
> NULL values. This is currently only used by "deploy" in
> DBIx::Class::Schema.
> 

Exactly.  A true value means the column is allowed to contain NULL 
values.  A false value means the column is NOT allowed to contain NULL 
values.

Ronald



More information about the DBIx-Class mailing list