NAME

Class::DBI::SQLite - Extension to Class::DBI for sqlite

SYNOPSIS

package Film;
use base qw(Class::DBI::SQLite);
__PACKAGE__->set_db('Main', 'dbi:SQLite:dbname=dbfile', '', '');
__PACKAGE__->table('Movies');
__PACKAGE__->columns(Primary => qw(id));
__PACKAGE__->columns(All => qw(id title director));

package main;
my $film = Film->create({
   name  => 'Bad Taste',
   title => 'Peter Jackson',
});
my $id = $film->id;		# auto-incremented

DESCRIPTION

Class::DBI::SQLite is an extension to Class::DBI for DBD::SQLite, which allows you to populate auto incremented row id after insert.

AUTHOR

Tatsuhiko Miyagawa <miyagawa@bulknews.net>

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

Class::DBI, DBD::SQLite