Re: [RDBO] Boolean cannot set NULL

2007-07-05 Thread John Siracusa
On 7/5/07, Derek Watson <[EMAIL PROTECTED]> wrote: > Is there a way to set a RDBO boolean column to NULL? It seems to me > that undef evaluates to FALSE. > > $obj->bool_column(undef); > $obj->save; > print $obj->bool_column; # 0 It's a bug, now fixed in SVN. Thanks for the report. -John ---

[RDBO] Boolean cannot set NULL

2007-07-05 Thread Derek Watson
Is there a way to set a RDBO boolean column to NULL? It seems to me that undef evaluates to FALSE. $obj->bool_column(undef); $obj->save; print $obj->bool_column; # 0 Should I be creating my own column class for this? - This