Added Numa's count_all, removed warns from mysql and pg tests
[dbsrgits/DBIx-Class.git] / lib / DBIx / Class / PK / Auto / MySQL.pm
CommitLineData
7624b19f 1package DBIx::Class::PK::Auto::MySQL;
2
3use strict;
4use warnings;
5
6use base qw/DBIx::Class/;
7
8__PACKAGE__->load_components(qw/PK::Auto/);
9
10sub last_insert_id {
11 return $_[0]->storage->dbh->{mysql_insertid};
12}
13
141;
15
16=head1 NAME
17
18DBIx::Class::PK::Auto::MySQL - Automatic Primary Key class for MySQL
19
20=head1 SYNOPSIS
21
22=head1 DESCRIPTION
23
24This class implements autoincrements for MySQL.
25
26=head1 AUTHORS
27
28Matt S. Trout <perl-stuff@trout.me.uk>
29
30=head1 LICENSE
31
32You may distribute this code under the same terms as Perl itself.
33
34=cut
35