Daisuke Maki > Class-DBI-Loader > Class::DBI::Loader::mysql

Download:
Class-DBI-Loader-0.34.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  9
Open  5
View/Report Bugs
Module Version: 0.30   Source  

NAME ^

Class::DBI::Loader::mysql - Class::DBI::Loader mysql Implementation.

SYNOPSIS ^

  use Class::DBI::Loader;

  # $loader is a Class::DBI::Loader::mysql
  my $loader = Class::DBI::Loader->new(
    dsn       => "dbi:mysql:dbname",
    user      => "root",
    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

syntax highlighting: