From: Peter Rabbitson Date: Sat, 6 Mar 2010 10:42:40 +0000 (+0000) Subject: One more PODlink X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=90f250bcdedd28908e45312aedbe5d05869f606e;p=dbsrgits%2FDBIx-Class-Historic.git One more PODlink --- diff --git a/lib/DBIx/Class/PK.pm b/lib/DBIx/Class/PK.pm index a25c431..c4d3b93 100644 --- a/lib/DBIx/Class/PK.pm +++ b/lib/DBIx/Class/PK.pm @@ -37,6 +37,7 @@ sub id { sub _ident_values { my ($self) = @_; + my (@ids, @missing); for ($self->_pri_cols) { diff --git a/lib/DBIx/Class/ResultSource.pm b/lib/DBIx/Class/ResultSource.pm index 4b6ec45..da89e0e 100644 --- a/lib/DBIx/Class/ResultSource.pm +++ b/lib/DBIx/Class/ResultSource.pm @@ -465,10 +465,11 @@ called after L. Additionally, defines a L named C. -The primary key columns are used by L to -retrieve automatically created values from the database. They are also -used as default joining columns when specifying relationships, see -L. +Note: you normally do want to define a primary key on your sources +B. +See +L +for more info. =cut