The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

DBIx::Class::Schema::PopulateMore::Test::Schema::Result::Person - A Person Class

DESCRIPTION

Tests for this type of FK relationship

PACKAGE METHODS

This module defines the following package methods

table

Name of the Physical table in the database

add_columns

Add columns and meta information

person_id

Primary Key which is an auto generated autoinc

fk_gender_id

foreign key to the Gender table

name

Just an ordinary name

age

The person's age

created

When the person was added to the database

primary_key

Sets the Primary keys for this table

friendlist

Each Person might have a resultset of friendlist

gender

This person's gender

fanlist

A resultset of the people listing me as a friend (if any)

friends

A resultset of Persons who are in my FriendList

fans

A resultset of people that have me in their friendlist

companies_person

Each Person might have a resultset from the company_person table. This is a bridge table in a many-many type relationship

companies

A resultset of Companies via a resultset of connecting CompanyPersons

METHODS

This module defines the following methods.

AUTHOR

Please see DBIx::Class::Schema::PopulateMore For authorship information

LICENSE

Please see DBIx::Class::Schema::PopulateMore For licensing terms.