[Dbix-class] Perldoc holes

Matt S Trout dbix-class at trout.me.uk
Fri Nov 11 19:16:26 CET 2005


On Thu, Nov 03, 2005 at 10:16:17PM +1100, Gavin Carr wrote:
> A couple of questions too:
> 
> - is it possible to update a column with a NULL? I expected
>   $foo->set_column(bar => undef) to do that, but that gives an
>   'eq' comparison error

That should work; a failing test case and/or patch would be most welcome.
 
> - the methods created by add_columns don't seem to be mutators,
>   just accessors - is the intent that set_column is used instead,
>   or is this a TODO item?

They're mutators as well.

> - is there an CDBI-like autoupdate mode yet?

Only in CDBICompat because I couldn't think of a better API; if you have
any suggestions I'd be interested to hear them. Note though that you should
be able to load just the autoupdate CDBICompat component; I don't think it
depends on anything else.

-- 
     Matt S Trout       Specialists in Perl consulting, web development, and
  Technical Director    UNIX/Linux systems architecture and automation. Mail
Shadowcat Systems Ltd.  mst (at) shadowcatsystems.co.uk for more information

 + Help us build a better perl ORM: http://dbix-class.shadowcatsystems.co.uk/ +



More information about the Dbix-class mailing list