From: Nigel Metheringham Date: Thu, 8 May 2008 13:22:44 +0000 (+0000) Subject: cascade_copy docs (format fixed) X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2fef093d6dd0a13c6ecc2fff1f3089add0b97484;p=dbsrgits%2FDBIx-Class-Historic.git cascade_copy docs (format fixed) --- diff --git a/lib/DBIx/Class/Relationship.pm b/lib/DBIx/Class/Relationship.pm index cd4b6cd..4dee96b 100644 --- a/lib/DBIx/Class/Relationship.pm +++ b/lib/DBIx/Class/Relationship.pm @@ -273,8 +273,8 @@ DBIx-Class-based cascading delete. If you copy an object in a class with a C relationship, all the related objects will be copied as well. To turn this behaviour off, -pass C 0 > in the C<$attr> hashref. The behaviour -defaults to C 1>. +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.