1Class::DBI::Loader::mysUqsle(r3)Contributed Perl DocumenCtlaatsiso:n:DBI::Loader::mysql(3)
2
3
4
6 Class::DBI::Loader::mysql - Class::DBI::Loader mysql Implementation.
7
9 use Class::DBI::Loader;
10
11 # $loader is a Class::DBI::Loader::mysql
12 my $loader = Class::DBI::Loader->new(
13 dsn => "dbi:mysql:dbname",
14 user => "root",
15 password => "",
16 namespace => "Data",
17 );
18 my $class = $loader->find_class('film'); # $class => Data::Film
19 my $obj = $class->retrieve(1);
20
22 See Class::DBI::Loader, Class::DBI::Loader::Generic.
23
25 Class::DBI::Loader, Class::DBI::Loader::Generic
26
27
28
29perl v5.36.0 2023-01-20 Class::DBI::Loader::mysql(3)