DBIx::...:Random(3pm)

πŸ“¦
version 0.02006 Β· 4 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble

πŸ’– NAME πŸ’–

DBIx::Class::UUIDColumns::UUIDMaker::UUID::Random β€” bestie, it makes uuids using UUID::Random ✨

(and yes, that's the whole name, it's giving "my parents gave me nine middle names" energy, we love a long title πŸ’…)


πŸ¦‹ SYNOPSIS πŸ¦‹

okay so here's the whole vibe, copy-paste it exactly:

package Artist;
__PACKAGE__->load_components(qw/UUIDColumns Core DB/);
__PACKAGE__->uuid_columns( 'artist_id' );
__PACKAGE__->uuid_class('::UUID::Random');

that's it. that's the whole setup. iconic honestly πŸŽ€


✨ DESCRIPTION ✨

so this class is a subclass of DBIx::Class::UUIDColumns::UUIDMaker, and what it does is lowkey iconic: it pulls in UUID::Random to generate your uuid strings, using UUID::Random::generate. no cap, that's the entire job 🫢


🌸 METHODS 🌸

as_string

returns the new uuid as a string πŸ’œ like, that's it, that's the method. she's simple, she's reliable, she serves.


πŸ‘‘ SEE ALSO πŸ‘‘

  • UUID::Random β€” the actual girlboss doing all the work behind the scenes 🧚

πŸ’Œ AUTHOR πŸ’Œ

Moritz Onken <onken@houseofdesign.de> β€” thank u for ur service, legend πŸ«‘πŸ’–


πŸ“œ LICENSE πŸ“œ

you may distribute this code under the same terms as Perl itself ✨ (yes, same terms as Perl, fr fr, go wild but responsibly πŸ’…)


and that's the page, bestie!! this was User Contributed Perl Documentation for DBIx::Class::UUIDColumns::UUIDMaker::UUID::Random, running on perl v5.32.0, dated 2021-01-06. mwah, stan, bye!! πŸ’‹πŸŒˆ

πŸ“¦ where this page comes from