Skip to content
Sections
>> Trisquel >> 软件包 >> nabia >> perl >> libclass-dbi-loader-relationship-perl
etiona  ] [  nabia  ] [  aramo  ]

软件包: libclass-dbi-loader-relationship-perl (1:1.2-5)

Easier relationship specification in Class::DBI::Loader

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".

其他与 libclass-dbi-loader-relationship-perl 有关的软件包

  • 依赖
  • 推荐
  • 建议

下载 libclass-dbi-loader-relationship-perl

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 7.2 kB22 kB [文件列表]