[Bast-commits] r4799 -
DBIx-Class-DynamicDefault/1.000/trunk/lib/DBIx/Class
rafl at dev.catalyst.perl.org
rafl at dev.catalyst.perl.org
Wed Sep 10 22:11:14 BST 2008
Author: rafl
Date: 2008-09-10 22:11:14 +0100 (Wed, 10 Sep 2008)
New Revision: 4799
Modified:
DBIx-Class-DynamicDefault/1.000/trunk/lib/DBIx/Class/DynamicDefault.pm
Log:
Document always_update.
Modified: DBIx-Class-DynamicDefault/1.000/trunk/lib/DBIx/Class/DynamicDefault.pm
===================================================================
--- DBIx-Class-DynamicDefault/1.000/trunk/lib/DBIx/Class/DynamicDefault.pm 2008-09-10 21:11:05 UTC (rev 4798)
+++ DBIx-Class-DynamicDefault/1.000/trunk/lib/DBIx/Class/DynamicDefault.pm 2008-09-10 21:11:14 UTC (rev 4799)
@@ -145,6 +145,13 @@
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 at debian.orgE<gt>
More information about the Bast-commits
mailing list