Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
DBIx::Class::Loader::DUser)Contributed Perl DocumenDBIx::Class::Loader::DB2(3)

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
       DBIx::Class::Loader

perl v5.32.1			  2006-02-14	   DBIx::Class::Loader::DB2(3)

NAME | SYNOPSIS | DESCRIPTION | KNOW ISSUES | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=DBIx::Class::Loader::DB2&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help