Fix missing handling of on_(dis)connect* failures
[dbsrgits/DBIx-Class-Historic.git] / lib / DBIx / Class / PK / Auto / SQLite.pm
index 98d1c07..e98f7f0 100644 (file)
@@ -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<additional DBIC resources|DBIx::Class/GETTING HELP/SUPPORT>.
+
+=head1 COPYRIGHT AND LICENSE
+
+This module is free software L<copyright|DBIx::Class/COPYRIGHT AND LICENSE>
+by the L<DBIx::Class (DBIC) authors|DBIx::Class/AUTHORS>. You can
+redistribute it and/or modify it under the same terms as the
+L<DBIx::Class library|DBIx::Class/COPYRIGHT AND LICENSE>.