From: Peter Rabbitson Date: Sun, 2 Nov 2008 16:54:46 +0000 (+0000) Subject: Better linking in Relatiomship POD X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=684af87666cd89229fd16c750cf1f77790e76a39;p=dbsrgits%2FDBIx-Class-Historic.git Better linking in Relatiomship POD --- diff --git a/lib/DBIx/Class/Relationship.pm b/lib/DBIx/Class/Relationship.pm index 3a78bed..b3f8507 100644 --- a/lib/DBIx/Class/Relationship.pm +++ b/lib/DBIx/Class/Relationship.pm @@ -212,7 +212,9 @@ NOTE: If you are used to L relationships, this is the equivalent of C. See L for documentation on relationship -methods and valid relationship attributes. +methods and valid relationship attributes. Also see L +for a L +which can be assigned to relationships as well. =head2 has_many @@ -343,7 +345,9 @@ pass C<< cascade_copy => 0 >> in the C<$attr> hashref. The behaviour defaults to C<< cascade_copy => 1 >>. See L for documentation on relationship -methods and valid relationship attributes. +methods and valid relationship attributes. Also see L +for a L +which can be assigned to relationships as well. =head2 might_have @@ -425,7 +429,9 @@ will have deleted/updated the related records or raised an exception before DBIx::Class gets to perform the cascaded operation. See L for documentation on relationship -methods and valid relationship attributes. +methods and valid relationship attributes. Also see L +for a L +which can be assigned to relationships as well. =head2 has_one @@ -510,7 +516,9 @@ In the above example, each Book in the database is associated with exactly one ISBN object. See L for documentation on relationship -methods and valid relationship attributes. +methods and valid relationship attributes. Also see L +for a L +which can be assigned to relationships as well. =head2 many_to_many @@ -593,7 +601,9 @@ will be created for the Role class for the C many_to_many relationship. See L for documentation on relationship -methods and valid relationship attributes. +methods and valid relationship attributes. Also see L +for a L +which can be assigned to relationships as well. =cut diff --git a/lib/DBIx/Class/Relationship/Base.pm b/lib/DBIx/Class/Relationship/Base.pm index b64e455..f78bb6b 100644 --- a/lib/DBIx/Class/Relationship/Base.pm +++ b/lib/DBIx/Class/Relationship/Base.pm @@ -67,7 +67,9 @@ Each key-value pair provided in a hashref will be used as Ced conditions. To add an Ced condition, use an arrayref of hashrefs. See the L documentation for more details. -In addition to standard result set attributes, the following attributes are also valid: +In addition to the +L, +the following attributes are also valid: =over 4