# __PACKAGE__->load_components(qw/PK::Auto/);
-sub last_insert_id {
- return $_[0]->_dbh->{mysql_insertid};
+sub _dbh_last_insert_id {
+ my ($self, $dbh, $source, $col) = @_;
+ $dbh->{mysql_insertid};
}
sub sqlt_type {
1;
-=head1 NAME
+=head1 NAME
DBIx::Class::Storage::DBI::mysql - Automatic primary key class for MySQL