DBIx::...ultSet(3pm)
β¨ NAME β¨
DBIx::Class::Helper::ResultSet β the way that this is all the ResultSet Helpers in one place π (and yeah bestie, this is the DBIx::...ultSet(3pm) page, you're in the right spot π«Ά)
πΈ DESCRIPTION πΈ
Okay so listen. This is just a simple Helper helper (yes, helper helper, we said what we said π ) that pulls in all of the ResultSet Helpers into one convenient module. One stop shop. Iconic behaviour fr fr.
Heads up though: it does not include deprecated helpers. Those ones are not invited to the party π
π NOTE π
Lowkey the move here is applying this to your entire schema. You probably want that, no cap. The most convenient way to do it:
- make a base ResultSet, and
- inherit from that in all of your custom ResultSets, and also
- make it the default ResultSet for the non-custom ResultSets.
Example time, bestie π:
package My::App::Schema::ResultSet;
use strict;
use warnings;
use parent 'DBIx::Class::ResultSet';
__PACKAGE__->load_components('Helper::ResultSet');
1;
package My::App::Schema;
use parent 'DBIx::Class::Schema';
My::App::Schema->load_namespaces(
default_resultset_class => 'ResultSet',
);
1;
That's it. That's the whole vibe check and it passes β
π AUTHOR π
Arthur Axel "fREW" Schmidt <frioux+cpan@gmail.com> β absolute legend, give them their flowers πΈ
π COPYRIGHT AND LICENSE π
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. So like, go forth and remix, it's giving open source excellence π
And that's the tea β β this page came to you from the DBIx::...ultSet(3pm) manual, generated by perl v5.40.0 on 2024-11-16. Go slay some queries, bestie π
β¨π¦
π¦ where this page comes from
- debian trixie: libdbix-class-helpers-perl 2.037000-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libdbix-class-helpers-perl 2.037000-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libdbix-class-helpers-perl 2.037000-1 Β· 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