logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Description

       Multi-column primary keys are supported. It's also fine to define multi-column foreign keys, but they
       will be ignored because Class::DBI does not support them.

       See Class::DBI::Loader, Class::DBI::Loader::Generic.

Name

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

See Also

       Class::DBI::Loader, Class::DBI::Loader::Generic

perl v5.36.0                                       2022-12-07                    Class::DBI::Loader::SQLite(3pm)

Synopsis

         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);

See Also