logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

DBIx::Class::UUIDColumns::UUIDMaker::UUID - Create uuids using UUID

Author

       Chris Laco <claco@chrislaco.com>

Description

       This DBIx::Class::UUIDColumns::UUIDMaker subclass uses UUID to generate uuid strings in the following
       format:

         098f2470-bae0-11cd-b579-08002b30bfeb

License

       You may distribute this code under the same terms as Perl itself.

perl v5.40.1                                       2025-08-15              DBIx::Class::U...UUIDMaker::UUID(3pm)

Methods

as_string
       Returns the new uuid as a string.

Name

       DBIx::Class::UUIDColumns::UUIDMaker::UUID - Create uuids using UUID

See Also

       UUID

Synopsis

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

See Also