| 1 | Source: libclass-dbi-loader-relationship-perl |
| 2 | Maintainer: Debian Perl Group <[email protected]> |
| 3 | Uploaders: Ansgar Burchardt <[email protected]> |
| 4 | Section: perl |
| 5 | Priority: optional |
| 6 | Build-Depends: debhelper-compat (= 13) |
| 7 | Build-Depends-Indep: perl, |
| 8 | libclass-dbi-loader-perl, |
| 9 | liblingua-en-inflect-number-perl |
| 10 | Standards-Version: 4.1.4 |
| 11 | Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libclass-dbi-loader-relationship-perl |
| 12 | Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libclass-dbi-loader-relationship-perl.git |
| 13 | Homepage: https://metacpan.org/release/Class-DBI-Loader-Relationship |
| 14 | Testsuite: autopkgtest-pkg-perl |
| 15 | |
| 16 | Package: libclass-dbi-loader-relationship-perl |
| 17 | Architecture: all |
| 18 | Depends: ${misc:Depends}, |
| 19 | ${perl:Depends}, |
| 20 | libclass-dbi-loader-perl, |
| 21 | liblingua-en-inflect-number-perl |
| 22 | Description: Easier relationship specification in Class::DBI::Loader |
| 23 | The Class::DBI::Loader::Relationship module acts as a mix-in, adding the |
| 24 | relationship() method to Class::DBI::Loader. Since Class::DBI::Loader knows |
| 25 | how to map between table names and class names, there ought to be no need to |
| 26 | replicate the names. |
| 27 | . |
| 28 | In addition, it is common (but not universal) to want reverse |
| 29 | relationships defined for has-many relationships, and for has-a |
| 30 | relationships to be defined for the linkages surrounding a |
| 31 | many-to-many table. |
| 32 | . |
| 33 | The aim of this module is to simplify the declaration of common |
| 34 | database relationships by providing both of these features. |
| 35 | . |
| 36 | The relationship takes a string. It recognises table names (singular |
| 37 | or plural, for convenience) and extracts them from the "sentence". |