DBIx::Class::Storage::DBI::SQLite - Automatic primary key class for SQLite
# In your table classes use base 'DBIx::Class::Core'; __PACKAGE__->set_primary_key('id');
This class implements autoincrements for SQLite.
Used as:
on_connect_call => 'use_foreign_keys'
In connect_info to turn on foreign key (including cascading) support for recent versions of SQLite and DBD::SQLite.
Executes:
PRAGMA foreign_keys = ON
See http://www.sqlite.org/foreignkeys.html for more information.
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.