DBIx::Class::Storage::DBI::UniqueIdentifier.3pm

Langue: en

Version: 2010-06-04 (ubuntu - 24/10/10)

Section: 3 (Bibliothèques de fonctions)

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.