Brandon L Black > DBIx-Class-Loader-0.21 > DBIx::Class::Loader::mysql

Download:
DBIx-Class-Loader-0.21.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  3
Open  0
View/Report Bugs
Source  

NAME ^

DBIx::Class::Loader::mysql - DBIx::Class::Loader mysql Implementation.

SYNOPSIS ^

  use DBIx::Class::Loader;

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

SEE ALSO ^

DBIx::Class::Loader

syntax highlighting: