From: Nigel Metheringham Date: Fri, 11 Jan 2008 12:55:17 +0000 (+0000) Subject: Copied documentation for id & discard_charges methods from Pk.pm X-Git-Tag: v0.08010~13 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=dbsrgits%2FDBIx-Class.git;a=commitdiff_plain;h=33cf66162eaf342c26916fcd5987393d5ce1de72 Copied documentation for id & discard_charges methods from Pk.pm into Row.pm as few people think to look in Pk.pm. Put reference back to original source. --- diff --git a/lib/DBIx/Class/Row.pm b/lib/DBIx/Class/Row.pm index 77e8050..7ee9ca8 100644 --- a/lib/DBIx/Class/Row.pm +++ b/lib/DBIx/Class/Row.pm @@ -764,6 +764,22 @@ sub throw_exception { } } +=head2 id + +Returns the primary key(s) for a row. Can't be called as a class method. +Actually implemented in L + +=head2 discard_changes + +Re-selects the row from the database, losing any changes that had +been made. + +This method can also be used to refresh from storage, retrieving any +changes made since the row was last read from storage. Actually +implemented in L + +=cut + 1; =head1 AUTHORS