debian man page for catalyst::model::dbi

Query: catalyst::model::dbi

OS: debian

Section: 3pm

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

Catalyst::Model::DBI(3pm)				User Contributed Perl Documentation				 Catalyst::Model::DBI(3pm)

NAME
Catalyst::Model::DBI - DBI Model Class
SYNOPSIS
# use the helper create model DBI DBI dsn username password # lib/MyApp/Model/DBI.pm package MyApp::Model::DBI; use base 'Catalyst::Model::DBI'; __PACKAGE__->config( dsn => 'dbi:Pg:dbname=myapp', password => '', username => 'postgres', options => { AutoCommit => 1 }, ); 1; my $dbh = $c->model('DBI')->dbh; #do something with $dbh ...
DESCRIPTION
This is the "DBI" model class.
METHODS
new Initializes DBI connection $self->dbh Returns the current database handle. $self->stay_connected Returns a connected database handle. $self->connected Returns true if the database handle is active and pingable. $self->connect Connects to the database and returns the handle. $self->disconnect Executes rollback if AutoCommit is active, disconnects and unsets the database handle.
SEE ALSO
Catalyst, DBI
AUTHOR
Alex Pavlovic, "alex.pavlovic@taskforce-1.com"
COPYRIGHT
Copyright (c) 2005 - 2009 the Catalyst::Model::DBI "AUTHOR" as listed above.
LICENSE
This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2010-01-28 Catalyst::Model::DBI(3pm)
Related Man Pages
catalyst::helper::model::adaptor(3pm) - debian
catalyst::helper::model::cdbi(3pm) - debian
catalyst::helper::model::dbic::schema(3pm) - debian
catalyst::model::cdbi(3pm) - debian
dbix::class::storage::dbi::access(3pm) - debian
Similar Topics in the Unix Linux Community
DEC 3000 Model 800/800S AXP (RAM Required)
Aix 5.3 or Linux?
list of all values that can be set by $dbh in perlDBI
Model old user for new user
SQL database call into Multidimensional Array using Perl Script