Class::DBI::Loader::mysql - Class::DBI::Loader mysql Implementation. |
Class::DBI::Loader::mysql - Class::DBI::Loader mysql Implementation.
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);
See the Class::DBI::Loader manpage, the Class::DBI::Loader::Generic manpage.
the Class::DBI::Loader manpage, the Class::DBI::Loader::Generic manpage
Class::DBI::Loader::mysql - Class::DBI::Loader mysql Implementation. |