NAME

Eve::PgSqlConnection - a class for PostgreSQL connection.

SYNOPSIS

    my $pgsql_connection = Eve::PgSqlConnection->new(
        host => 'localhost', port => '5432', database => 'somedb',
        user => 'someuser', password => 'somepassword', schema => 'someschema');

DESCRIPTION

Eve::PgSqlConnection is an adapter class for PostgreSQL connection. It adapts DBI's database handle with DBD::Pg driver and encapsulates connection establishing mechanisms and confuguring practices.

Attributes

dbh

a service attribute containing a data base handle (not for regular use).

Constructor arguments

host
port
database
user
password
schema

For default argument values see the DBD::Pg documentation.

METHODS

init()

SEE ALSO

DBI
DBD::Pg
Eve::Class

LICENSE AND COPYRIGHT

Copyright 2012 Igor Zinovyev.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.

AUTHOR

Sergey Konoplev