Tiny Documentation Patch

[prev] [thread] [next] [Date index for 2004/09/20]

From: Tom Hukins
Subject: Tiny Documentation Patch
Date: 20:46 on 20 Sep 2004
--liOOAslEiF7prFVr
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Here's a small patch to the documentation that comes from a question I
asked at the Class::DBI BOF at YAPC::Europe last week.  Hopefully,
this will help others avoid misunderstanding auto-deletion in the same
way I did.

Thanks,
Tom

--liOOAslEiF7prFVr
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="relationship-doc.patch"

--- DBI.pm.orig	Mon Sep 20 16:33:11 2004
+++ DBI.pm	Mon Sep 20 16:34:00 2004
@@ -1604,7 +1604,7 @@
 	Music::CD->search(year => 1980, title => 'Greatest %')->delete_all;
 
 Deletes this object from the database and from memory. If you have set up
-any relationships using has_many, this will delete the foreign elements
+any relationships using C<has_many> or C<might_have>, this will delete the foreign elements
 also, recursively (cascading delete).  $obj is no longer usable after
 this call.
 

--liOOAslEiF7prFVr--

Tiny Documentation Patch
Tom Hukins 20:46 on 20 Sep 2004

Re: Tiny Documentation Patch
Tony Bowden 07:24 on 21 Sep 2004

Generated at 11:34 on 01 Dec 2004 by mariachi v0.52