Ioannis Tambouras > Class-DBI-Loader-Kinship-0.01 > Class::DBI::Loader::Pg

Download:
Class-DBI-Loader-Kinship-0.01.tar.gz

Annotate this POD

View/Report Bugs
Source   Latest Release: Class-DBI-Loader-Kinship-0.03

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.

AUTHOR ^

Daisuke Maki dmaki@cpan.org ( except for lines 62, 58, and 56 )

SEE ALSO ^

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

syntax highlighting: