Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
DBIx::ClassDBIx::ClassUserhContributedtPerleDocumentationa::Result::Company(3)

NAME
       DBIx::Class::Schema::PopulateMore::Test::Schema::Result::Company	- A
       Company Class

DESCRIPTION
       Companies are entities people work for.	A person can work for one or
       more companies.	For the	purposed of making this	easy (for now) we will
       say that	a company can exist without employees and that there is	no
       logic preventing	a person from working for more than one	company	at a
       time.

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

       company_id

       Primary Key which is an auto generated autoinc

       name

       The company's name

   primary_key
       Sets the	Primary	keys for this table

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

   employees
       A resultset of Persons 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.

perl v5.24.DBIx::Class::Schema::PopulateMore::Test::Schema::Result::Company(3)

NAME | DESCRIPTION | PACKAGE METHODS | METHODS | AUTHOR | LICENSE

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=DBIx::Class::Schema::PopulateMore::Test::Schema::Result::Company&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help