From: Michael Reddick Date: Sun, 22 Feb 2009 03:07:32 +0000 (+0000) Subject: Added default_value caveat documentation to Ordered.pm X-Git-Tag: v0.08240~64 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=58755bbaee2ccf9eb6e9d03b9e8a8a79aeda2ebe;p=dbsrgits%2FDBIx-Class.git Added default_value caveat documentation to Ordered.pm --- diff --git a/lib/DBIx/Class.pm b/lib/DBIx/Class.pm index 6ea8116..d698719 100644 --- a/lib/DBIx/Class.pm +++ b/lib/DBIx/Class.pm @@ -261,6 +261,8 @@ marcus: Marcus Ramberg mattlaw: Matt Lawrence +michaelr: Michael Reddick + ned: Neil de Carteret nigel: Nigel Metheringham diff --git a/lib/DBIx/Class/Ordered.pm b/lib/DBIx/Class/Ordered.pm index e95b693..be44991 100644 --- a/lib/DBIx/Class/Ordered.pm +++ b/lib/DBIx/Class/Ordered.pm @@ -784,6 +784,11 @@ ResultSet class that supports a parent() method, for example. Another solution is to somehow automagically modify the objects that exist in the current object's result set to have the new position value. +=head2 Default Values + +Using a database defined default_value on one of your group columns +could result in the position not being assigned correctly. + =head1 AUTHOR Aran Deltac