DBIx::Class::Relationship::Predicate 0.03 released

Last monday, I did a new release of DBIx::Class::Relationship::Predicate. Summary of changes is as follows.

  • Tests require SQL::Translator => 0.11006
  • Added more test cases and fixed some tests
  • Updated SYNOPSIS section
  • Re-org Makefile.PL

See also the diff.

It is a DBIx::Class component that automatically creates predicates for relationship accessors in a result class. By default, it builds "has_${rel_accessor_name}" methods and injects into the class. You can define the name for each one (or also disable its creation using undef as value) by setting 'predicate' key in the relationship's attributes hashref.

Leave a comment

About Wallace Reis

user-pic I blog about Perl.