1Class::DBI::Loader::SQLUisteer(3C)ontributed Perl DocumeCnltaastsi:o:nDBI::Loader::SQLite(3)
2
3
4

NAME

6       Class::DBI::Loader::SQLite - Class::DBI::Loader SQLite Implementation.
7

SYNOPSIS

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

DESCRIPTION

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

SEE ALSO

27       Class::DBI::Loader, Class::DBI::Loader::Generic
28
29
30
31perl v5.34.0                      2022-01-21     Class::DBI::Loader::SQLite(3)
Impressum