1Class::DBI::Loader::Pg(U3s)er Contributed Perl DocumentatCiloanss::DBI::Loader::Pg(3)
2
3
4

NAME

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

SYNOPSIS

9         use Class::DBI::Loader;
10
11         # $loader is a Class::DBI::Loader::Pg
12         my $loader = Class::DBI::Loader->new(
13           dsn       => "dbi:Pg:dbname=dbname",
14           user      => "postgres",
15           password  => "",
16           namespace => "Data",
17         );
18         my $class = $loader->find_class('film'); # $class => Data::Film
19         my $obj = $class->retrieve(1);
20

DESCRIPTION

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

SEE ALSO

25       Class::DBI::Loader, Class::DBI::Loader::Generic
26
27
28
29perl v5.38.0                      2023-07-20         Class::DBI::Loader::Pg(3)
Impressum