[Dbix-class] update value of a column when another column changes

Alexander Hartmaier alexander.hartmaier at t-systems.at
Tue May 28 16:05:49 GMT 2013


On 2013-05-28 17:44, Peter Rabbitson wrote:
> On Tue, May 28, 2013 at 05:12:57PM +0200, Alexander Hartmaier wrote:
>> I didn't find a way to distinguish between a change and the initial
>> setting of the column value.
>  $result->has_column_loaded($col)
>
> Cheers
GAH! I knew you have a solution at hand!
Adding that to the accept and req_status change if's solved it, All
tests successful.
Thanks!
You own me a beer for not being on IRC, I owe you one or more for the
solution!

Cheers, Alex

>
>
> _______________________________________________
> 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



*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
T-Systems Austria GesmbH Rennweg 97-99, 1030 Wien
Handelsgericht Wien, FN 79340b
*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
Notice: This e-mail contains information that is confidential and may be privileged.
If you are not the intended recipient, please notify the sender and then
delete this e-mail immediately.
*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*



More information about the DBIx-Class mailing list