From: Peter Rabbitson Date: Thu, 30 Oct 2008 12:41:04 +0000 (+0000) Subject: add some things to castaway's rewrite X-Git-Tag: v0.08240~288 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ea36f4e4155e854f2f755b4f49bd79884649ea00;p=dbsrgits%2FDBIx-Class.git add some things to castaway's rewrite --- diff --git a/lib/DBIx/Class/Row.pm b/lib/DBIx/Class/Row.pm index 7a6f68e..e57699c 100644 --- a/lib/DBIx/Class/Row.pm +++ b/lib/DBIx/Class/Row.pm @@ -22,8 +22,13 @@ This class is responsible for defining and doing basic operations on rows derived from L objects. Row objects are returned from Ls using the -L, L, -L and L methods. +L, L, +L and L methods, +as well as invocations of 'single' ( +L, +L or +L) +relationship accessors of L objects. =head1 METHODS @@ -435,7 +440,7 @@ L. Runs an SQL DELETE statement using the primary key values to locate the row. The object is still perfectly usable, but L will -now return 0 and the object must reinserted using L +now return 0 and the object must be reinserted using L before it can be used to L the row again. If you delete an object in a class with a C relationship, an @@ -494,6 +499,11 @@ been fetched from the database or set by an accessor. If an L has been set, it will be deflated and returned. +Note that if you used the C or the C