Commit | Line | Data |
b8e1e21f |
1 | package DBIx::Class::PK::Auto::SQLite; |
2 | |
3 | use strict; |
4 | use warnings; |
5 | |
6 | sub _last_insert_id { |
7 | return $_[0]->_get_dbh->func('last_insert_rowid'); |
8 | } |
9 | |
10 | 1; |
34d52be2 |
11 | |
12 | =head1 NAME |
13 | |
14 | DBIx::Class::PK::Auto::SQLite - Automatic Primary Key class for SQLite |
15 | |
16 | =head1 SYNOPSIS |
17 | |
18 | =head1 DESCRIPTION |
19 | |
20 | This class implements autoincrements for SQLite. |
21 | |
22 | =head1 AUTHORS |
23 | |
24 | Matt S. Trout <perl-stuff@trout.me.uk> |
25 | |
26 | =head1 LICENSE |
27 | |
28 | You may distribute this code under the same terms as Perl itself. |
29 | |
30 | =cut |
31 | |