Object::Relation::Setup::DB::PgObject::Relation::Setup::DB::Pg allows Object::Relation Pg data store setup. | |
Download |
Object::Relation::Setup::DB::Pg Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Kineticode, Inc.
- Publisher web site:
- http://search.cpan.org/~dwheeler/Object-Relation-v0.1.0/lib/Object/Relation/Setup/DB/SQLite.pm
Object::Relation::Setup::DB::Pg Tags
Object::Relation::Setup::DB::Pg Description
Object::Relation::Setup::DB::Pg allows Object::Relation Pg data store setup. Object::Relation::Setup::DB::Pg allows Object::Relation Pg data store setup.Class InterfaceConstructorsnew my $pg_setup = Object::Relation::Setup::DB::Pg->new(%params);The constructor inherits from Object::Relation::Setup::DB to set default values for the following attributes:super_userDefaults to "postgres".super_passDefaults to "".userDefaults to "obj_rel".dsnDefaults to "dbi:Pg:dbname=obj_rel".template_dsnDefaults to the value of dsn with the value for the dbname changed to "template1".Class Methodsconnect_attrs DBI->connect( $dsn, $user, $pass, { Object::Relation::Setup::DB::Pg->connect_attrs } );Returns a list of arugments to be used in the attributes hash passed to the DBI connect() method. Overrides that provided by Object::Relation::Setup::DB to add pg_enable_utf8 => 1. Requirements: · Perl
Object::Relation::Setup::DB::Pg Related Software