Changes for version 1.005 - 2010-03-22

  • Renamed has_a method as belongs_to.
  • Added has_one method.
  • Added test t/010-basic/000-AAAsetup.t that creates the SQLite database structure.
  • Added the ability to pass search_where-style arguments to the has-many relationship methods. So if My::Artist has_many My::Album as 'albums' you can now do: my @albums = $artist->albums({name => { LIKE => 'Best of%'}}, {order_by => 'name DESC'});
    • A SPECIAL thanks to Tudor Marghidanu for finding a bug and for suggesting this update.

Documentation

How To Use Class::DBI::Lite

Modules

Lightweight ORM for Perl
Base class for NoSQL cache managers.
Extended meta-information about database table fields.
Test fixtures for easy testing.
Simple iterator for Class::DBI::Lite
Page through your records, easily.
Utility class for database table meta-information.

Provides

in lib/Class/DBI/Lite/AdHocEntity.pm
in lib/Class/DBI/Lite/EntityMeta.pm
in lib/Class/DBI/Lite/RootMeta.pm
in lib/Class/DBI/Lite/SQLite.pm
in lib/Class/DBI/Lite/mysql.pm