[Bast-commits] r3925 - DBIx-Class/0.08/trunk/lib/DBIx/Class

nigel at dev.catalyst.perl.org nigel at dev.catalyst.perl.org
Fri Jan 11 12:55:18 GMT 2008


Author: nigel
Date: 2008-01-11 12:55:17 +0000 (Fri, 11 Jan 2008)
New Revision: 3925

Modified:
   DBIx-Class/0.08/trunk/lib/DBIx/Class/Row.pm
Log:
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.


Modified: DBIx-Class/0.08/trunk/lib/DBIx/Class/Row.pm
===================================================================
--- DBIx-Class/0.08/trunk/lib/DBIx/Class/Row.pm	2008-01-10 00:37:56 UTC (rev 3924)
+++ DBIx-Class/0.08/trunk/lib/DBIx/Class/Row.pm	2008-01-11 12:55:17 UTC (rev 3925)
@@ -764,6 +764,22 @@
   }
 }
 
+=head2 id
+
+Returns the primary key(s) for a row. Can't be called as a class method.
+Actually implemented in L<DBIx::Class::Pk>
+
+=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<DBIx::Class::Pk>
+
+=cut
+
 1;
 
 =head1 AUTHORS




More information about the Bast-commits mailing list