DBIx::...:Uniqid(3pm)

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

πŸ’– NAME πŸ’–

DBIx::Class::UUIDColumns::UUIDMaker::Data::Uniqid β€” bestie, this is the little plugin that makes your uuids using Data::Uniqid. That's the whole job. She's a specialist. She does one thing and she ate. πŸ‘‘


✨ SYNOPSIS ✨

okay so this is literally the entire setup, copy-paste core:

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

load the components, tell it which column is the uuid column, then point uuid_class at this girl. that's it. that's the vibe. πŸ¦‹


🌸 DESCRIPTION 🌸

so this is a subclass of DBIx::Class::UUIDColumns::UUIDMaker, and what it does is it reaches for Data::Uniqid to spit out uuid strings β€” specifically it goes through Data::Uniqid::luniqid to do it. no cap. that's the entire personality. πŸ’…


πŸŽ€ METHODS πŸŽ€

as_string

returns the new uuid as a string. just hands it to you. like a little gift. 🫢


πŸ‘€ SEE ALSO πŸ‘€

  • Data::Data::Uniqid

(yes bestie, it's written exactly like that, don't come for me, i'm just the messenger πŸ™ˆ)


πŸ’œ AUTHOR πŸ’œ

Chris Laco <claco@chrislaco.com> β€” the icon, the legend, the moment. ⭐


πŸ“œ LICENSE πŸ“œ

you may distribute this code under the same terms as Perl itself. go forth and share, responsibly. 🌈


this page was shipped with perl v5.32.0, dated 2021-01-06, and it came to you courtesy of the User Contributed Perl Documentation crew. ok bye bestie, go make some uuids, you're gonna slay πŸ’–βœ¨πŸŽ€
πŸ“¦ where this page comes from