DBIx::Class::Relationship::Predicate 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.
DBIx::Class::Relationship::Predicate
1 TrackBack
TrackBack URL: http://wallace.reis.org.br/cgi-bin/mt/mt-tb.cgi/1
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 dif... Read More
Leave a comment