GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
DBIx::Class::Loader::DB2(3) User Contributed Perl Documentation DBIx::Class::Loader::DB2(3)

DBIx::Class::Loader::DB2 - DBIx::Class::Loader DB2 Implementation.

  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);

See DBIx::Class::Loader.

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.

DBIx::Class::Loader
2006-02-14 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.