From: Brendan Byrd Date: Fri, 23 Mar 2012 15:09:04 +0000 (-0400) Subject: Some minor POD corrections X-Git-Tag: v0.08197~63 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=dbsrgits%2FDBIx-Class.git;a=commitdiff_plain;h=16667b3ab96a1c4a533d071e8e52eed883724828 Some minor POD corrections Apply very small doc correction to search_related Fix incorrect last_modified / update comparison in ::Row/update Add more direct documentation of grandparent methods in DBIC::Core --- diff --git a/lib/DBIx/Class.pm b/lib/DBIx/Class.pm index d706cb3..d0d9d0b 100644 --- a/lib/DBIx/Class.pm +++ b/lib/DBIx/Class.pm @@ -476,6 +476,8 @@ scotty: Scotty Allen semifor: Marc Mims +SineSwiper: Brendan Byrd + solomon: Jared Johnson spb: Stephen Bennett diff --git a/lib/DBIx/Class/Core.pm b/lib/DBIx/Class/Core.pm index a7e5f59..080e028 100644 --- a/lib/DBIx/Class/Core.pm +++ b/lib/DBIx/Class/Core.pm @@ -36,7 +36,7 @@ The core modules currently are: =item L -=item L +=item L (See also L) =item L @@ -44,7 +44,7 @@ The core modules currently are: =item L -=item L +=item L (See also L) =back diff --git a/lib/DBIx/Class/ResultSet.pm b/lib/DBIx/Class/ResultSet.pm index 0061dd7..31abf01 100644 --- a/lib/DBIx/Class/ResultSet.pm +++ b/lib/DBIx/Class/ResultSet.pm @@ -927,7 +927,7 @@ sub _build_unique_cond { =over 4 -=item Arguments: $rel, $cond, \%attrs? +=item Arguments: $rel, $cond?, \%attrs? =item Return Value: $new_resultset (scalar context) || @row_objs (list context) diff --git a/lib/DBIx/Class/Row.pm b/lib/DBIx/Class/Row.pm index 60c854b..1bfb38f 100644 --- a/lib/DBIx/Class/Row.pm +++ b/lib/DBIx/Class/Row.pm @@ -468,7 +468,7 @@ to C, e.g. ( { %{ $href } } ) If the values passed or any of the column values set on the object contain scalar references, e.g.: - $row->last_modified(\'NOW()'); + $row->last_modified(\'NOW()')->update(); # OR $row->update({ last_modified => \'NOW()' }); @@ -593,7 +593,7 @@ sub delete { =back Throws an exception if the column name given doesn't exist according -to L. +to L. Returns a raw column value from the row object, if it has already been fetched from the database or set by an accessor. @@ -1447,7 +1447,6 @@ sub discard_changes { } } - =head2 throw_exception See L.