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


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.


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


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