
Class::DBI::Lite - Lightweight ORM for Perl

**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.

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;

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.



John Drago <jdrago_999@yahoo.com>.

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.