DBIx::Class::Helper::Schema::Verifier::RelationshipColumnName(3pm)

DBIx::Class::Helper::Schema::Verifier::RelationshipColumnName3pm

Verify that relationships and column names are distinct

Usage

 package MyApp::Schema;
 __PACKAGE__->load_components('Helper::Schema::Verifier::RelationshipColumnName');

Overview

"DBIx::Class::Helper::Schema::Verifier::RelationshipColumnName" verifies that none of your columns have the same name as a relationship. If you create a relationship that has the same name as a column, to access the column you will be forced to use "get_column", additionally it is just confusing having them be the same name. What I tend to do is define the columns to be something like "user_id" and have the relationship then be simply "user".

Releases

5 releases since Debian 9 (Stretch); the text changed 4 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13

Author

Arthur Axel "fREW" Schmidt <[email protected]>

From libdbix-class-helpers-perl 2.037000-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.