DBIx::...::Util(3pm)

πŸ“¦
version 2.037000 Β· 5 versions
, in debian trixie, ubuntu resolute, ubuntu stonking

✨ DBIx::...::Util(3pm) ✨

okay so bestie, you found the manual for DBIx::...::Util(3pm) and honestly? it's a little one but it's a cutie. pull up a chair, we're doing this together 🫢


πŸ’– NAME πŸ’–

DBIx::Class::Helper::ResultSet::Util β€” Helper utilities for DBIx::Class ResultSets πŸŽ€

like, it's a little grab-bag of helper functions for your ResultSets. that's the whole vibe. slay.


🌸 DESCRIPTION 🌸

okay so here's the tea: these functions are slowly becoming the core implementations of many existing components. why? because sometimes you literally cannot β€” or just refuse to πŸ™…β€β™€οΈ β€” add a component to an object, since adding a component fundamentally changes the object. it's giving commitment issues but make it architecture.

and instead of doing all that, if you just act on the object with a subroutine, you're not committing as seriously. lowkey genius. it's a situationship with your object and honestly? valid. ✨


πŸ¦‹ EXPORTS πŸ¦‹

🌈 correlate 🌈

correlate($author_rs, 'books')

this function lets you correlate a resultset with one of its relationships πŸ’« it takes the ResultSet and the relationship name as its arguments β€” so, two things in, correlated magic out, no cap.

and if you want the in depth example? go read the "SYNOPSIS" in DBIx::Class::Helper::ResultSet::CorrelateRelationship. it's all laid out there for you, bestie, iykyk πŸ‘‘


πŸ‘‘ AUTHOR πŸ‘‘

Arthur Axel "fREW" Schmidt <frioux+cpan@gmail.com>

(iconic name, iconic email, we stan 🫢)


This software is copyright (c) 2024 by Arthur Axel "fREW" Schmidt.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

fr fr, it's free software β€” remix it, share it, just keep the same license terms as Perl 5 itself. periodt. πŸ’–

and that's the whole page, babes!! 🌟 written up with perl v5.40.0 and dated 2024-11-16, mwah πŸ’‹ go correlate something cute πŸ’œ

πŸ“¦ where this page comes from