Class::DBI::Loader::SQLite(3pm)

Class::DBI::Loader::SQLite3pm

Class::dbi::loader sqlite implementation.

Usage

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

Overview

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.

Releases

11 releases since Debian 3.1 (Sarge); the text changed 6 times.

  1. 3.1
  2. 4.0
  3. 5.0
  4. 6.0–9
  5. 10
  6. 11
  7. 12–13

From libclass-dbi-loader-perl 0.34-4 in Debian 13 (Trixie). Parsed by carta from the page's man source.