[Bast-commits] r8899 - DBIx-Class/0.08/branches/pod_fixes/lib/DBIx/Class

ribasushi at dev.catalyst.perl.org ribasushi at dev.catalyst.perl.org
Sat Mar 6 10:42:40 GMT 2010


Author: ribasushi
Date: 2010-03-06 10:42:40 +0000 (Sat, 06 Mar 2010)
New Revision: 8899

Modified:
   DBIx-Class/0.08/branches/pod_fixes/lib/DBIx/Class/PK.pm
   DBIx-Class/0.08/branches/pod_fixes/lib/DBIx/Class/ResultSource.pm
Log:
One more PODlink

Modified: DBIx-Class/0.08/branches/pod_fixes/lib/DBIx/Class/PK.pm
===================================================================
--- DBIx-Class/0.08/branches/pod_fixes/lib/DBIx/Class/PK.pm	2010-03-06 10:38:21 UTC (rev 8898)
+++ DBIx-Class/0.08/branches/pod_fixes/lib/DBIx/Class/PK.pm	2010-03-06 10:42:40 UTC (rev 8899)
@@ -37,6 +37,7 @@
 
 sub _ident_values {
   my ($self) = @_;
+
   my (@ids, @missing);
 
   for ($self->_pri_cols) {

Modified: DBIx-Class/0.08/branches/pod_fixes/lib/DBIx/Class/ResultSource.pm
===================================================================
--- DBIx-Class/0.08/branches/pod_fixes/lib/DBIx/Class/ResultSource.pm	2010-03-06 10:38:21 UTC (rev 8898)
+++ DBIx-Class/0.08/branches/pod_fixes/lib/DBIx/Class/ResultSource.pm	2010-03-06 10:42:40 UTC (rev 8899)
@@ -465,10 +465,11 @@
 Additionally, defines a L<unique constraint|add_unique_constraint>
 named C<primary>.
 
-The primary key columns are used by L<DBIx::Class::PK::Auto> to
-retrieve automatically created values from the database. They are also
-used as default joining columns when specifying relationships, see
-L<DBIx::Class::Relationship>.
+Note: you normally do want to define a primary key on your sources
+B<even if the underlying database table does not have a primary key>.
+See
+L<DBIx::Class::Intro/The Significance and Importance of Primary Keys>
+for more info.
 
 =cut
 




More information about the Bast-commits mailing list