Bug#264644: ITP: libclass-dbi-loader-relationship-perl -- Easier relationship specification in Class::DBI::Loader
Package: wnpp
Severity: wishlist
* Package name : libclass-dbi-loader-relationship-perl
Version : 1.2
Upstream Author : Simon Cozens <simon@simon-cozens.org>
* URL : http://search.cpan.org/CPAN/authors/id/S/SI/SIMON/
* License : GPL (1 or greater) or Perl Artistic
Description : Easier relationship specification in Class::DBI::Loader
This module acts as a mix-in, adding the relationship() method to
Class::DBI::Loader. Since Class::DBI::Loader knows how to map between
table names and class names, there ought to be no need to replicate
the names.
.
In addition, it is common (but not universal) to want reverse
relationships defined for has-many relationships, and for has-a
relationships to be defined for the linkages surrounding a
many-to-many table.
.
The aim of this module is to simplify the declaration of common
database relationships by providing both of these features.
.
The relationship takes a string. It recognises table names (singular
or plural, for convenience) and extracts them from the "sentence".
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.7
Locale: LANG=C, LC_CTYPE=C
Reply to: