Class::DBI::Loader::SQLite - Class::DBI::Loader SQLite Implementation. |
Class::DBI::Loader::SQLite - Class::DBI::Loader SQLite Implementation.
use Class::DBI::Loader;
# $loader is a Class::DBI::Loader::SQLite my $loader = Class::DBI::Loader->new( dsn => "dbi:SQLite:dbname=/path/to/dbfile", namespace => "Data", ); my $class = $loader->find_class('film'); # $class => Data::Film my $obj = $class->retrieve(1);
Multi-column primary keys are supported. It's also fine to define multi-column foreign keys, but they will be ignored because the Class::DBI manpage does not support them.
See the Class::DBI::Loader manpage, the Class::DBI::Loader::Generic manpage.
the Class::DBI::Loader manpage, the Class::DBI::Loader::Generic manpage
Class::DBI::Loader::SQLite - Class::DBI::Loader SQLite Implementation. |