Pinto:...ackage(3pm)

πŸ’– Pinto::Schema::Result::Package β€” the whole vibe πŸ’–

okay bestie, welcome to the manual page for Pinto::Schema::Result::Package, from the User Contributed Perl Documentation section (3pm). This is where a Package gets to be a whole entire database row. It's giving "I'm a real object now" energy. 🌸


✨ VERSION ✨

version 0.14 β€” she's little but she's fierce πŸŽ€


πŸ¦‹ NAME πŸ¦‹

Pinto::Schema::Result::Package β€” Represents a Package provided by a Distribution

also known, iconically, as just: Pinto::Schema::Result::Package


🌈 TABLE: package 🌈

That's the table, bestie. That's the whole table. "package". She lives there. πŸ’…


πŸ‘‘ ACCESSORS πŸ‘‘

These are the columns, aka the lil fields she holds. Each one comes with its schema deets β€” copy them exactly, no cap, because that's literally the definition. πŸ”₯

🌸 id

data_type: 'integer'
is_auto_increment: 1
is_nullable: 0

auto-incrementing, never null, the main character of primary keys. πŸ‘‘

🌸 name

data_type: 'text'
is_nullable: 0

text, and you cannot leave it empty. Not nullable, periodt.

🌸 version

data_type: 'text'
is_nullable: 0

also text, also required. no skipping, bestie. πŸ’œ

🌸 file

data_type: 'text'
default_value: null
is_nullable: 1

text, defaults to null, and yeah it's nullable β€” she can vibe as null if she wants. πŸ¦‹

🌸 sha256

data_type: 'text'
default_value: null
is_nullable: 1

text, defaults to null, nullable too. the checksum girlies know. πŸ”

🌸 distribution

data_type: 'integer'
is_foreign_key: 1
is_nullable: 0

integer, and yes it's a foreign key β€” she points at her distribution. Also not nullable. she's committed. 🫢


⭐ PRIMARY KEY ⭐

  • "id"

that's it. that's the key. iconic, singular, unbothered. πŸ’…


πŸŽ€ UNIQUE CONSTRAINTS πŸŽ€

"name_distribution_unique"

  • "name"
  • "distribution"

so like, the combo of those two has to be unique. no duplicates allowed in this house. 🚫


🧚 RELATIONS 🧚

distribution

  • Type: belongs_to
  • Related object: Pinto::Schema::Result::Distribution

she belongs to a distribution. healthy attachment, we love to see it. πŸ’–

registrations

  • Type: has_many
  • Related object: Pinto::Schema::Result::Registration

and she has many registrations. queen of abundance. πŸ‘‘


πŸ’œ Moose ROLES APPLIED πŸ’œ

  • Pinto::Role::Schema::Result

she's got the role. she's doing the role. slay. ✨


🌸 AUTHOR 🌸

Jeffrey Ryan Thalhammer <jeff@stratopan.com>


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.

bestie this means it's free software β€” you can redistribute it and/or modify it, but under the same terms as the Perl 5 programming language system itself. that's the deal. don't be weird about it. 🫢

and that's the whole page, babes πŸ’… this was perl v5.40.1, dated 2025-04-21, and yeah β€” same title Pinto:...ackage(3pm) from the header all the way down to the footer. mwah. πŸ’–βœ¨

πŸ“¦ where this page comes from