NAME
Egg::Model::DBI - It is DBI model for Egg.
SYNOPSIS
This is a sample of the configuration.
MODEL=> [
['DBI'=> {
dsn => 'dbi:Pg:dbname=database;host=localhost;port=5432',
user => 'db_user',
password=> 'db_password',
options => { RaiseError=> 1, AutoCommit=> 0 },
}],
],
* get data base handler.
my $dbh= $e->model('DBI')->dbh;
SEE ALSO
Egg::Release, http://dbi.perl.org/,
AUTHOR
Masatoshi Mizuno, <mizuno@bomcity.com>
COPYRIGHT AND LICENSE
Copyright (C) 2006 Bee Flag, Corp. <http://egg.bomcity.com/>, All Rights Reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available.