Pinto:...:Result(3pm)

πŸ‘‘ Pinto:...:Result β€” the tea β˜•

okay bestie, so you opened the manual for Pinto:...:Result(3pm) and it's User Contributed Perl Documentation energy, which is exactly what we love around here. sit down, hydrate, let's go πŸ’…


✨ NAME ✨

Pinto::Role::Schema::Result β€” literally the attributes and methods for all Schema::Result objects. every single one. no cap 🫢


🌸 VERSION 🌸

this is version 0.14, periodt.


πŸ’– DESCRIPTION πŸ’–

okay so this role right here? it adds a Pinto::Repository attribute. that's its whole thing. slay. πŸŽ€

but listen β€” you should only apply it to Pinto::Schema::Result subclasses, because it literally reaches into the underlying Pinto::Schema object to get at the repo. it's not shy, it's not subtle, it's gonna go in there. so if you put it somewhere it doesn't belong, that's on you bestie 😭

and why does it do this? because it gives us a back door for injecting additional attributes into Pinto::Schema::Result objects. the way that those objects are usually created by DBIx::Class and we simply do not have control over the construction process β€” like, we're not the ones throwing the party, we just wanna sneak in through the side entrance. and this role is the side entrance. iconic behavior honestly πŸ¦‹


🫢 AUTHOR 🫢

Jeffrey Ryan Thalhammer <jeff@stratopan.com> β€” the main character who made this happen ⭐


this software is copyright (c) 2015 by Jeffrey Ryan Thalhammer.

it's free software, so you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. that's the vibe, that's the deal, that's the whole license 🌈


and that's the page bestie!! every word of it, no skips, no lies πŸ’–

this was brought to you by perl v5.40.1, dated 2025-04-21 β€” and yes, that footer is a whole aesthetic. love that for us. bye pookie πŸŽ€βœ¨

πŸ“¦ where this page comes from