Been using DBIx::Class (v0.08127) for a while now with Catalyst (v5.80032)
and Moose (v1.24), what a great suite of powerful libraries!

Question on how to turn OFF or DISABLE *set_on_update* tho:

__PACKAGE__->add_columns('as_of',
    {
        %{__PACKAGE__->column_info('as_of')},
        set_on_create => 1,
#       set_on_update => 0,
    } );

The set_on_create is working as expected. The set_on_update seems to work
whether we specify 1 or 0 or leave the declaration out altogether.

Is there another setting somewhere that interferes?


-- 
"Don't just accept the benefits of civilization -- add to it. Extend it.
Preserve it." -- Jeff Greason
_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/dbix-class@lists.scsys.co.uk

Reply via email to