The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

DBIx::Class::Storage::DBI::UniqueIdentifier - Storage component for RDBMSes supporting the 'uniqueidentifier' type

DESCRIPTION

This is a storage component for databases that support the uniqueidentifier type and the NEWID() function for generating UUIDs.

UUIDs are generated automatically for PK columns with the uniqueidentifier data_type, as well as non-PK with this data_type and auto_nextval.

Currently used by DBIx::Class::Storage::DBI::MSSQL and DBIx::Class::Storage::DBI::SQLAnywhere.

The composing class can define a _new_uuid method to override the function used to generate a new UUID.

AUTHOR

See "AUTHOR" in DBIx::Class and "CONTRIBUTORS" in DBIx::Class.

LICENSE

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