From: Dan Thomas Date: Mon, 30 Nov 2009 18:37:00 +0000 (+0000) Subject: Alter the docs for has_many relationships to make them a little easier to grok X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=1c4819f04cb02375c7d70dde946b113ce59b2a77;p=dbsrgits%2FDBIx-Class-Historic.git Alter the docs for has_many relationships to make them a little easier to grok --- diff --git a/lib/DBIx/Class/Relationship.pm b/lib/DBIx/Class/Relationship.pm index e3b812b..3351391 100644 --- a/lib/DBIx/Class/Relationship.pm +++ b/lib/DBIx/Class/Relationship.pm @@ -232,13 +232,13 @@ which can be assigned to relationships as well. =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 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). 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 +specifies a reference to a join condition hash. =over