[Dbix-class] set_on_update=>0

will trillich will.trillich at serensoft.com
Tue Jul 19 20:53:49 GMT 2011


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 =3D> 1,
#       set_on_update =3D> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20110719/6ea=
a7c4b/attachment.htm


More information about the DBIx-Class mailing list