DBIx::Class::PK::Auto - Automatic Primary Key class
This class overrides the insert method to get automatically incremented primary keys.
You don't want to be using this directly - instead load the appropriate one for your database, e.g. PK::Auto::SQLite
Overrides insert so that it will get the value of autoincremented primary keys.
Manually define the correct sequence for your table, to avoid the overhead associated with looking up the sequence automatically.
Matt S. Trout <mst@shadowcatsystems.co.uk>
You may distribute this code under the same terms as Perl itself.
To install DBIx::Class, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DBIx::Class
CPAN shell
perl -MCPAN -e shell install DBIx::Class
For more information on module installation, please visit the detailed CPAN module installation guide.