Pinto:...quisite(3pm)
β¨ NAME β¨
Pinto::Schema::Result::Prerequisite β bestie, this is the lil' class that represents a Distribution -> Package dependency π it's the whole "okay so this disty needs this package" situation, and it lives in the DBIx::Class schema, so it's giving database-row energy, no cap π«Ά
πΈ VERSION πΈ
version 0.14 β yeah she's on 0.14, iconic behavior honestly π
π NAME π
Pinto::Schema::Result::Prerequisite (yes, we're saying it again, she contains multitudes β¨)
π¦ TABLE: "prerequisite" π¦
That's the table she's the main character of. That's it, that's the vibe check β
π ACCESSORS π
These are the columns, bestie, and each one comes with its own little personality report π the data_type, is_auto_increment, is_foreign_key and is_nullable bits are literally the schema metadata, so don't let them slide:
π id
data_type: 'integer'
is_auto_increment: 1
is_nullable: 0
auto-incrementing integer, and NOT nullable, so she's always got something to say π’
π phase
data_type: 'text'
is_nullable: 0
a text column, not nullable β like, configure/require/build/test core hours, the phase of the moon π
π distribution
data_type: 'integer'
is_foreign_key: 1
is_nullable: 0
integer, and yup it's a foreign key π not nullable either β she's pointing at a distribution, always π
π package_name
data_type: 'text'
is_nullable: 0
text, not nullable β the name of the package in question π·οΈ
π package_version
data_type: 'text'
is_nullable: 0
text, not nullable β the version, and yes it's text not a number, that's just how Perl versions roll π
π PRIMARY KEY π
"id"
That's the one, that's the primary key, periodt π―
β UNIQUE CONSTRAINTS β
π§ "distribution_phase_package_name_unique"
This trio is unique together, bestie β no duplicate rows of this combo allowed, fr fr π«:
"distribution""phase""package_name"
π₯ RELATIONS π₯
π distribution
- Type:
belongs_to - Related object: Pinto::Schema::Result::Distribution
So this row belongs_to a Distribution object, and that's the whole relationship, slay π«Ά
π Moose ROLES APPLIED π
Pinto::Role::Schema::Result
She's wearing this role like a cute lil' accessory, and it fits perfectly π
π AUTHOR π
Jeffrey Ryan Thalhammer <jeff@stratopan.com> β the author himself, we stan π
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2015 by Jeffrey Ryan Thalhammer.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. So like, go wild, but respectfully π
perl v5.40.1 Β· 2025-04-21 β okay that's the tea, generated by perl v5.40.1 on 2025-04-21, from the Pinto 0.14 era, and that's a wrap bestie, go read some more manpages, mwah πβ¨π¦
π¦ where this page comes from
- debian trixie: pinto 0.14000-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: pinto 0.14000-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms