1Class::DBI::Loader::SQLUisteer(3C)ontributed Perl DocumeCnltaastsi:o:nDBI::Loader::SQLite(3)
2
3
4
6 Class::DBI::Loader::SQLite - Class::DBI::Loader SQLite Implementation.
7
9 use Class::DBI::Loader;
10
11 # $loader is a Class::DBI::Loader::SQLite
12 my $loader = Class::DBI::Loader->new(
13 dsn => "dbi:SQLite:dbname=/path/to/dbfile",
14 namespace => "Data",
15 );
16 my $class = $loader->find_class('film'); # $class => Data::Film
17 my $obj = $class->retrieve(1);
18
20 Multi-column primary keys are supported. It's also fine to define
21 multi-column foreign keys, but they will be ignored because Class::DBI
22 does not support them.
23
24 See Class::DBI::Loader, Class::DBI::Loader::Generic.
25
27 Class::DBI::Loader, Class::DBI::Loader::Generic
28
29
30
31perl v5.28.0 2006-03-04 Class::DBI::Loader::SQLite(3)