more TODOs
[dbsrgits/DBIx-Class-Historic.git] / lib / DBIx / Class / Storage / DBI / SQLite.pm
1 package DBIx::Class::Storage::DBI::SQLite;
2
3 use strict;
4 use warnings;
5
6 use base qw/DBIx::Class::Storage::DBI/;
7
8 sub last_insert_id {
9   return $_[0]->dbh->func('last_insert_rowid');
10 }
11
12 1;
13
14 =head1 NAME
15
16 DBIx::Class::PK::Auto::SQLite - Automatic primary key class for SQLite
17
18 =head1 SYNOPSIS
19
20   # In your table classes
21   __PACKAGE__->load_components(qw/PK::Auto Core/);
22   __PACKAGE__->set_primary_key('id');
23
24 =head1 DESCRIPTION
25
26 This class implements autoincrements for SQLite.
27
28 =head1 AUTHORS
29
30 Matt S. Trout <mst@shadowcatsystems.co.uk>
31
32 =head1 LICENSE
33
34 You may distribute this code under the same terms as Perl itself.
35
36 =cut