Re: [RDBO] Bug? Can't set column with a default to NULL

2007-09-06 Thread John Siracusa
On 9/6/07 10:01 PM, Ask Bjørn Hansen wrote: We have some columns that are NULL but with a specified default value (for example 0). deleted = { type = 'integer', default = '0' }, Sometimes we need to set it to undef/NULL (a valid value), but RDBO unhelpfully resets that to the

Re: [RDBO] Bug? Can't set column with a default to NULL

2007-09-06 Thread Ask Bjørn Hansen
On Sep 6, 2007, at 7:16 PM, John Siracusa wrote: Or I suppose you could do the reverse, requiring a special value to trigger the use of a default and leaving undef as the null stand-in. That'd by far be my preference. In the application code undef and NULL maps so beautifully. Also it