DBIx::...Person(3pm)

✨ NAME ✨</p>

DBIx::Class::Schema::PopulateMore::Test::Schema::Result::CompanyPerson β€” bestie, it's the bridge between Company and Person 🫢

This one lives in the User Contributed Perl Documentation corner of the manual, so you know it's giving ✨community-coded✨ energy.


πŸ’– DESCRIPTION πŸ’–

Okay so real talk: this is a bridge table for a many-to-many style relationship between Company and Person. πŸŽ€

That's literally it. That's the whole vibe. Two things that have lots of each other, and this lil table in the middle holding hands with both. iykyk πŸ’…


🌸 ATTRIBUTES 🌸

This class defines the following attributes.

not me listing them all below, because we don't skip sections in this house πŸ’€

⭐ PACKAGE METHODS ⭐

This module defines the following package methods

table

Name of the Physical table in the database πŸ—„οΈ β€” yeah, the actual table-table, the one chillin' in the database for real.

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 🏒

(grammar? we don't know her. the facts are the facts, bestie 🫢)

primary_key

Sets the Primary keys for this table πŸ”‘ β€” like the main character ID moment for every row.

employee

The person that is employed by a company</p> πŸ‘‘πŸ’Ό

company

The company that employees the person 🏒✨

employment_history

each instance of a company_person has a related employment history πŸ“œ β€” the receipts, the lore, the whole backstory.


πŸ¦‹ METHODS πŸ¦‹

This module defines the following methods.

and that's the section. iconic of her honestly 🌈

πŸ‘‘ AUTHOR πŸ‘‘

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


πŸ’œ LICENSE πŸ’œ

Please see DBIx::Class::Schema::PopulateMore For licensing terms. πŸ“œβœ¨


and that's a wrap bestie!! πŸŽ€ this lil page was brought to you by perl v5.36.0, dated 2023-01-22 β€” slay, periodt, no cap πŸ’…πŸ’–

πŸ“¦ where this page comes from