Pinto:...ncestry(3pm)

πŸ’– Pinto::Schema::Result::Ancestry πŸ’–

okay bestie, welcome to the Pinto::Schema::Result::Ancestry page β€” it's a 3pm manual (User Contributed Perl Documentation, the good stuff), and we're gonna get into it together 🫢


✨ NAME ✨

Pinto::Schema::Result::Ancestry β€” she represents the relationship between revisions πŸ’… like, who's whose parent, who's whose child, the whole family tree drama.


🌸 VERSION 🌸

version 0.14 β€” yes, she's been around, she's vintage, she's iconic ✨


πŸ¦‹ NAME πŸ¦‹

Pinto::Schema::Result::Ancestry

(yes, again β€” the original does this too, it's just her thing, don't question it πŸ’€)


πŸŽ€ TABLE: "ancestry" πŸŽ€

that's the table, that's the name, "ancestry", periodt.


πŸ’… ACCESSORS πŸ’…

here's where she spills the tea on her columns πŸ‘‘

  • id
    • data_type: 'integer'
    • is_auto_increment: 1
    • is_nullable: 0

so she auto-increments, and nope, she is not nullable β€” no blanks allowed, main character energy only ✨

  • parent
    • data_type: 'integer'
    • is_foreign_key: 1
    • is_nullable: 0

it's an integer, it's a foreign key, and it is not nullable 🫢

  • child
    • data_type: 'integer'
    • is_foreign_key: 1
    • is_nullable: 0

same vibe, different column β€” integer, foreign key, not nullable πŸ’–


πŸ‘‘ PRIMARY KEY πŸ‘‘

  • "id"

that's it, that's the whole key, she said what she said πŸ’…


🌈 RELATIONS 🌈

the way she's connected to other things… obsessed 😭

  • child
    • Type: belongs_to
    • Related object: Pinto::Schema::Result::Revision
  • parent
    • Type: belongs_to
    • Related object: Pinto::Schema::Result::Revision

both of them belong to Pinto::Schema::Result::Revision β€” one parent, one child, and honestly? same.


🧚 Moose ROLES APPLIED 🧚

  • Pinto::Role::Schema::Result

she's got a role applied, she's got range πŸ’œ


πŸ“ AUTHOR πŸ“

Jeffrey Ryan Thalhammer <jeff@stratopan.com>

respect the author, fr fr πŸ™Œ


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.

like, actually free, actually redistributable, same terms as Perl 5 β€” no cap 🫢


okay bestie that's the whole page, and for the cute sign-off: this was perl v5.40.1 on 2025-04-21, and the page itself is Pinto:...ncestry(3pm) β€” she's a 3pm manual, she's from User Contributed Perl Documentation, and she ate πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from