X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FPK%2FAuto.pm;fp=lib%2FDBIx%2FClass%2FPK%2FAuto.pm;h=523ec27035f3f31ac2011003e6fb15fdeba3014f;hb=89170201e8ff8c60fab401b4b2e60f0fa13a3c47;hp=e2f717f677b64612bec4422c136ad7c8e90af18e;hpb=a93c65f29d8a3fc58e0d19fec4195a371c999fea;p=dbsrgits%2FDBIx-Class.git diff --git a/lib/DBIx/Class/PK/Auto.pm b/lib/DBIx/Class/PK/Auto.pm index e2f717f..523ec27 100644 --- a/lib/DBIx/Class/PK/Auto.pm +++ b/lib/DBIx/Class/PK/Auto.pm @@ -5,6 +5,8 @@ use base qw/DBIx::Class/; use strict; use warnings; +1; + =head1 NAME DBIx::Class::PK::Auto - Automatic primary key class @@ -36,19 +38,8 @@ The code that was handled here is now in Row for efficiency. =head2 sequence -Manually define the correct sequence for your table, to avoid the overhead -associated with looking up the sequence automatically. - -=cut - -sub sequence { - my ($self,$seq) = @_; - foreach my $pri ($self->primary_columns) { - $self->column_info($pri)->{sequence} = $seq; - } -} - -1; +The code that was handled here is now in ResultSource, and is being proxied to +Row as well. =head1 AUTHORS