The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

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

SYNOPSIS

use DBIx::Class::Loader;

# $loader is a DBIx::Class::Loader::Pg
my $loader = DBIx::Class::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 DBIx::Class::Loader.

SEE ALSO

DBIx::Class::Loader