libclass-dbi-loader-relationship-perl

Easier relationship specification in Class::DBI::Loader

Description

The Class::DBI::Loader::Relationship 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".

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://metacpan.org/release/Class-DBI-Loader-Relationship


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install libclass-dbi-loader-relationship-perl