1 package DBIx::Class::Storage::DBI::SQLite;
6 use base qw/DBIx::Class::Storage::DBI::MultiDistinctEmulation/;
8 sub _dbh_last_insert_id {
9 my ($self, $dbh, $source, $col) = @_;
10 $dbh->func('last_insert_rowid');
17 DBIx::Class::PK::Auto::SQLite - Automatic primary key class for SQLite
21 # In your table classes
22 __PACKAGE__->load_components(qw/PK::Auto Core/);
23 __PACKAGE__->set_primary_key('id');
27 This class implements autoincrements for SQLite.
31 Matt S. Trout <mst@shadowcatsystems.co.uk>
35 You may distribute this code under the same terms as Perl itself.