X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FRelationship.pm;h=29a7ffccfa76970fcd6087aa585f0553dce8a2f1;hb=6c4f4d69a8ec24b5e76bef0eb9c0d837d8e694ab;hp=ff26676fa0c60870eb71f42da6a106a5e35f27fd;hpb=13523f299f81871f7c33fb2e662fc2b5b009f9d2;p=dbsrgits%2FDBIx-Class.git diff --git a/lib/DBIx/Class/Relationship.pm b/lib/DBIx/Class/Relationship.pm index ff26676..29a7ffc 100644 --- a/lib/DBIx/Class/Relationship.pm +++ b/lib/DBIx/Class/Relationship.pm @@ -105,13 +105,13 @@ L. All helper methods are called similar to the following template: - __PACKAGE__->$method_name('relname', 'Foreign::Class', - \%cond | \@cond | \&conf, \%attrs); + __PACKAGE__->$method_name('relname', 'Foreign::Class', \%cond|\@cond|\&cond?, \%attrs?); Both C and C are optional. Pass C for C if you want to use the default value for it, but still want to set C. -See L for full documentation on definition of the C argument. +See L for full documentation on +definition of the C argument. See L for documentation on the attributes that are allowed in the C argument. @@ -159,7 +159,7 @@ OR =item cond A hashref, arrayref or coderef specifying a custom join expression. For -documentation see L. +more info see L. =back @@ -231,7 +231,7 @@ which can be assigned to relationships as well. =over 4 -=item Arguments: $accessor_name, $related_class, $their_fk_column|\%cond|\@cond\&cond?, \%attrs? +=item Arguments: $accessor_name, $related_class, $their_fk_column|\%cond|\@cond|\&cond?, \%attrs? =back @@ -271,7 +271,7 @@ OR =item cond A hashref, arrayref or coderef specifying a custom join expression. For -documentation see L. +more info see L. =back @@ -392,7 +392,7 @@ OR =item cond A hashref, arrayref or coderef specifying a custom join expression. For -documentation see L. +more info see L. =back @@ -440,7 +440,7 @@ current table allows nulls (i.e., has the C attribute set to a true value), than C will warn about this because it's naughty and you shouldn't do that. The warning will look something like: - "might_have/has_one" must not be on columns with is_nullable set to true (MySchema::SomeClass/key) + "might_have/has_one" must not be on columns with is_nullable set to true (MySchema::SomeClass/key) If you must be naughty, you can suppress the warning by setting C environment variable to a true value. Otherwise, @@ -487,7 +487,7 @@ OR =item cond A hashref, arrayref or coderef specifying a custom join expression. For -documentation see L. +more info see L. =back