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

Changes for version 3.0.3

  • Bug Fixes
    • Ensure object is removed from index when delete()d (Tim Bunce)
    • clear_object_index when new relationship set up (Tim Bunce)
    • Fixed bug where PK values got auto-vivified (Tatsuhiko Miyagawa, Christopher L. Everett, Tim Bunce)
    • Removed 'AS' when aliasing tables; some databases don't like that
    • Properly return -1 from unchanged object updates (Kingsley Kerce)
    • Fixed problems with overloaded stringification of related classes (Tim Bunce)
    • Fixed bug where Essential might contain the PK twice
  • Refactorings
    • Split live_object_key for easy subclassing (Tim Bunce)
    • Split out _as_hash() to return underlying data hash
    • Optimised _mk_column_accessors (Maurice Aubrey)
    • Don't hard-code relationship names (Peter Speltz)
  • Internals
    • Changed error message when setting up has_a with incorrect column (Drew Taylor)
  • Documentation
    • Fixed docs for after_update trigger and update (Kingsley Kerce)

Modules

Simple Database Abstraction
A column in a table
Columns and Column Groups
Iterate over Class::DBI search results
Deprecated SQL manager for Class::DBI
base class for Relationships
Base class for Class::DBI tests

Provides

in lib/Class/DBI/Query.pm
in lib/Class/DBI/Relationship/HasA.pm
in lib/Class/DBI/Relationship/HasMany.pm
in lib/Class/DBI/Relationship/MightHave.pm
in lib/Class/DBI.pm