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

套件: libclass-dbi-loader-relationship-perl (1:1.2-4)

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.9 kB68 kB [文件列表]