NAME
Class::DBI::Lite - Lightweight ORM for Perl
EXPERIMENTAL STATUS
**NOTE**: This module is still under development. It is likely to change in dramatic ways without any warning.
As is, this module should not (yet) be used in a production environment until after v1.000.
SYNOPSIS
package My::Model;
use base 'Class::DBI::Lite';
__PACKAGE__->connection(
$Config->settings->dsn,
$Config->settings->username,
$Config->settings->password,
);
Then, elsewhere...
# Change the connection:
My::Model->connection( @dsn );
my $users = My::User->retrieve_all;
My::Model->connection( @other_dsn );
my $other_users = My::User->retrieve_all;
DESCRIPTION
This module is intended to serve as a drop-in replacement for the venerable Class::DBI when many features of Class::DBI are simply not needed, or when Ima::DBI's quirks are not wanted.
SEE ALSO
TODO
Documentation
Near-100% code coverage
Thorough code profiling
Examples
AUTHOR
John Drago <jdrago_999@yahoo.com>.
LICENSE AND COPYRIGHT
Copyright 2008 John Drago <jdrago_999@yahoo.com>. All rights reserved.
This software is Free software and may be used and distributed under the same terms as perl itself.