Daisuke Maki

NAME

Class::DBI::Loader::Pg - Class::DBI::Loader Postgres Implementation.

SYNOPSIS

  use Class::DBI::Loader;

  # $loader is a Class::DBI::Loader::Pg
  my $loader = Class::DBI::Loader->new(
    dsn       => "dbi:Pg:dbname=dbname",
    user      => "postgres",
    password  => "",
    namespace => "Data",
  );
  my $class = $loader->find_class('film'); # $class => Data::Film
  my $obj = $class->retrieve(1);

DESCRIPTION

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

SEE ALSO

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