[Bast-commits] r5098 - DBIx-Class/0.08/trunk/lib/DBIx/Class

ribasushi at dev.catalyst.perl.org ribasushi at dev.catalyst.perl.org
Mon Nov 10 23:18:01 GMT 2008


Author: ribasushi
Date: 2008-11-10 23:18:01 +0000 (Mon, 10 Nov 2008)
New Revision: 5098

Modified:
   DBIx-Class/0.08/trunk/lib/DBIx/Class/ResultSet.pm
Log:
Clarify attributes argument of find()

Modified: DBIx-Class/0.08/trunk/lib/DBIx/Class/ResultSet.pm
===================================================================
--- DBIx-Class/0.08/trunk/lib/DBIx/Class/ResultSet.pm	2008-11-10 23:09:23 UTC (rev 5097)
+++ DBIx-Class/0.08/trunk/lib/DBIx/Class/ResultSet.pm	2008-11-10 23:18:01 UTC (rev 5098)
@@ -341,6 +341,9 @@
 If your table does not have a primary key, you B<must> provide a value for the
 C<key> attribute matching one of the unique constraints on the source.
 
+In addition to C<key>, L</find> recognizes and applies standard
+L<resultset attributes|/ATTRIBUTES> in the same way as L</search> does.
+
 Note: If your query does not return only one row, a warning is generated:
 
   Query returned more than one row




More information about the Bast-commits mailing list