logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

DBIx::Class::Schema::PopulateMore::Test::Schema::Result::CompanyPerson - Bridge between Company and

Attributes

       This class defines the following attributes.

Author

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

Description

       Bridge table for many to many style relationship between Company and Person.

License

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

perl v5.36.0                                       2023-01-22             DBIx::Class::Sc...::CompanyPerson(3pm)

Methods

       This module defines the following methods.

Name

       DBIx::Class::Schema::PopulateMore::Test::Schema::Result::CompanyPerson - Bridge between Company and
       Person

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

       fk_person_id

       ID of the person with a companies

       fk_company_id

       ID of the company with persons

   primary_key
       Sets the Primary keys for this table

   employee
       The person that is employed by a company

   company
       The company that employees the person

   employment_history
       each instance of a company_person has a related employment history

See Also