converted tabs to spaces, removed trailing whitespace
[dbsrgits/DBIx-Class.git] / lib / DBIx / Class / PK / Auto / SQLite.pm
index 98d1c07..80bdc7c 100644 (file)
@@ -3,8 +3,26 @@ package 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;
+
+=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 AUTHORS
+
+Matt S Trout <mst@shadowcatsystems.co.uk>
+
+=head1 LICENSE
+
+You may distribute this code under the same terms as Perl itself.
+
+=cut