X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FPK%2FAuto%2FSQLite.pm;h=e98f7f08b22487c452311fdf9fd859739af0b50b;hb=534521dac62f6ab58e83a42d4e8e3cb586db464b;hp=98d1c07551a9a8ef985b793110998bf01ecf12a1;hpb=b8e1e21f0fcd55e6e3ce987e57601b279a75b666;p=dbsrgits%2FDBIx-Class-Historic.git diff --git a/lib/DBIx/Class/PK/Auto/SQLite.pm b/lib/DBIx/Class/PK/Auto/SQLite.pm index 98d1c07..e98f7f0 100644 --- a/lib/DBIx/Class/PK/Auto/SQLite.pm +++ b/lib/DBIx/Class/PK/Auto/SQLite.pm @@ -1,10 +1,32 @@ -package DBIx::Class::PK::Auto::SQLite; +package # hide package from pause + DBIx::Class::PK::Auto::SQLite; use strict; use warnings; -sub _last_insert_id { - return $_[0]->_get_dbh->func('last_insert_rowid'); -} +use base qw/DBIx::Class/; + +__PACKAGE__->load_components(qw/PK::Auto/); 1; + +__END__ + +=head1 NAME + +DBIx::Class::PK::Auto::SQLite - (DEPRECATED) Automatic primary key class for SQLite + +=head1 SYNOPSIS + +Just load PK::Auto instead; auto-inc is now handled by Storage. + +=head1 FURTHER QUESTIONS? + +Check the list of L. + +=head1 COPYRIGHT AND LICENSE + +This module is free software L +by the L. You can +redistribute it and/or modify it under the same terms as the +L.