DBIx-Class-DynamicDefault

 view release on metacpan or  search on metacpan

lib/DBIx/Class/DynamicDefault.pm  view on Meta::CPAN

will be set to the return value of the specified callback unless the columns
value has been explicitly set.

Columns will only be altered if other dirty columns exist. See C<always_update>
on how to change this.

=head2 always_update

  always_update => 1

When setting C<always_update> to 1 C<dynamic_default_on_update> callbacks will
always be invoked, even if no other columns are dirty.

=head1 AUTHOR

Florian Ragwitz E<lt>rafl@debian.orgE<gt>

=head1 LICENSE

This software is copyright (c) 2008 by Florian Ragwitz.



( run in 0.254 second using v1.01-cache-2.11-cpan-9b1e4054eb1 )