The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Egg::Model::DBI::Base - Base class for DBI model component.

DESCRIPTION

It is a base class to use it from the component of Egg::Model::DBI.

The object of this module is only the one internally used when $e->model([LABEL_NAME]) is called. It is not necessary to consider it because of the application usually.

METHODS

dbi

The Egg::Model::DBI object is returned.

dbh

The data base handler is returned.

The connection still calls the connect method.

connect

It connects with the data base and Egg::Model::dbh. The object is returned.

disconnect

The database connectivility is cut.

SEE ALSO

Egg::Release, Egg::Model, Egg::Model::DBI, Egg::Model::DBI::dbh,

AUTHOR

Masatoshi Mizuno, <lushe@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2008 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.