Changes for version 1.029 - 2012-02-13

  • Added support for master/slaves setup.
  • Multiple slaves are supported (there can only be one master).
  • Slaves are always read from *unless* you are within a transaction. In that case, all reads go to the master.
  • All writes go to the master.
  • You can change your slave connection at any time via ->switch_slave($debug).
  • Passing a true value to ->switch_slave will cause a little message to be printed to STDERR which looks like: "[Debug] Switched slave from DBI:mysql:dbname:host1 to DBI:mysql:dbname:host2"

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/SQLite.pm
in lib/Class/DBI/Lite/mysql.pm