Justin Hunter > DBIx-Class-0.08126 > DBIx::Class::Storage::DBI::UniqueIdentifier

Download:
DBIx-Class-0.08126.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

New  12
Open  16
Stalled  12
View/Report Bugs
Source   Latest Release: DBIx-Class-0.082700_05

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.

syntax highlighting: