Re: Class::DBI::FromCGI not working with might_have
[prev]
[thread]
[next]
[Date index for 2004/10/24]
On Sun, Oct 24, 2004 at 03:25:10AM -0700, Ask Bj?rn Hansen wrote:
> Class::DBI::FromCGI can't update might_have columns.
Ouch.
> One is to change Class::DBI::FromCGI to use a loop and update each
> field instead of using "$them->set(%$to_update);".
>
> The other is to change find_column to be able to "find" the might_have
> columns.
>
> Changing FromCGI is easy; the only complication is to make sure the
> effects of autoupdate doesn't change. Changing find_column seems like
> it could get to be a lot more work fast.
Really set() should be able to accept might_have values. I'll have a
look at some stage and see what's involved in getting this to work.
If you, or someone else, could put together a trivial test case it'll
speed up the fix!
Thanks,
Tony
|
|
Re: Class::DBI::FromCGI not working with might_have
Tony Bowden 14:22 on 24 Oct 2004
|