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

dew at dev.catalyst.perl.org dew at dev.catalyst.perl.org
Mon Nov 30 18:37:00 GMT 2009


Author: dew
Date: 2009-11-30 18:37:00 +0000 (Mon, 30 Nov 2009)
New Revision: 7997

Modified:
   DBIx-Class/0.08/trunk/lib/DBIx/Class/Relationship.pm
Log:
Alter the docs for has_many relationships to make them a little easier to grok

Modified: DBIx-Class/0.08/trunk/lib/DBIx/Class/Relationship.pm
===================================================================
--- DBIx-Class/0.08/trunk/lib/DBIx/Class/Relationship.pm	2009-11-30 16:35:46 UTC (rev 7996)
+++ DBIx-Class/0.08/trunk/lib/DBIx/Class/Relationship.pm	2009-11-30 18:37:00 UTC (rev 7997)
@@ -232,13 +232,13 @@
 
 =back
 
-Creates a one-to-many relationship, where the corresponding elements
-of the foreign class store the calling class's primary key in one (or
-more) of the foreign class columns. This relationship defaults to using
-the end of this classes namespace as the foreign key in C<$related_class>
-to resolve the join, unless C<$their_fk_column> specifies the foreign
-key column in C<$related_class> or C<cond> specifies a reference to a
-join condition hash.
+Creates a one-to-many relationship where the foreign class refers to
+this class's primary key. This relationship refers to zero or more
+records in the foreign table (ie, a C<LEFT JOIN>). This relationship 
+defaults to using the end of this classes namespace as the foreign key
+in C<$related_class> to resolve the join, unless C<$their_fk_column>
+specifies the foreign key column in C<$related_class> or C<cond>
+specifies a reference to a join condition hash.
 
 =over
 




More information about the Bast-commits mailing list