-
-
27 Feb 2006 23:42:21 UTC
- Distribution: DBIx-Class-Loader
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues (3)
- Testers (459 / 461 / 1)
- Kwalitee
Bus factor: 4- % Coverage
- License: unknown
- Activity
24 month- Tools
- Download (12.68KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- DBI
- DBIx::Class
- Lingua::EN::Inflect
- Test::More
- Text::Balanced
- UNIVERSAL::require
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
DBIx::Class::Loader::DB2 - DBIx::Class::Loader DB2 Implementation.
SYNOPSIS
use DBIx::Class::Loader; # $loader is a DBIx::Class::Loader::DB2 my $loader = DBIx::Class::Loader->new( dsn => "dbi:DB2:dbname", user => "myuser", password => "", namespace => "Data", schema => "MYSCHEMA", dropschema => 0, ); my $class = $loader->find_class('film'); # $class => Data::Film my $obj = $class->retrieve(1);
DESCRIPTION
See DBIx::Class::Loader.
KNOW ISSUES
DBIx::Class::Loader::DB2 will not pass test suites (nor work quite completely for applications) with DBIx::Class versions less than 0.05. This is because prior to that release, there was no DBIx::Class::PK::Auto::DB2. As long as you don't use any auto-incrementing primary keys, things should be sane though.
SEE ALSO
Module Install Instructions
To install DBIx::Class::Loader, copy and paste the appropriate command in to your terminal.
cpanm DBIx::Class::Loader
perl -MCPAN -e shell install DBIx::Class::Loader
For more information on module installation, please visit the detailed CPAN module installation guide.