dbix::class::storage::dbi::uniqueidentifier(3) [osx man page]
DBIx::Class::Storage::DBI::UniqueIdentifier(3) User Contributed Perl Documentation DBIx::Class::Storage::DBI::UniqueIdentifier(3)NAME
DBIx::Class::Storage::DBI::UniqueIdentifier - Storage component for RDBMSes supporting GUID types
DESCRIPTION
This is a storage component for databases that support GUID types such as "uniqueidentifier", "uniqueidentifierstr" or "guid".
GUIDs are generated automatically for PK columns with a supported data_type, as well as non-PK with auto_nextval set.
METHODS
new_guid
The composing class must set "new_guid" to the method used to generate a new GUID. It can also set it to "undef", in which case the user is
required to set it, or a runtime error will be thrown. It can be:
string
In which case it is used as the name of database function to create a new GUID,
coderef
In which case the coderef should return a string GUID, using Data::GUID, or whatever GUID generation method you prefer. It is passed
the $self DBIx::Class::Storage reference as a parameter.
For example:
$schema->storage->new_guid(sub { Data::GUID->new->as_string });
AUTHOR
See "AUTHOR" in DBIx::Class and "CONTRIBUTORS" in DBIx::Class.
LICENSE
You may distribute this code under the same terms as Perl itself.
perl v5.16.2 2012-08-16 DBIx::Class::Storage::DBI::UniqueIdentifier(3)
Check Out this Related Man Page
DBIx::Class::Storage::DBI::UniqueIdentifier(3pm) User Contributed Perl Documentation DBIx::Class::Storage::DBI::UniqueIdentifier(3pm)NAME
DBIx::Class::Storage::DBI::UniqueIdentifier - Storage component for RDBMSes supporting GUID types
DESCRIPTION
This is a storage component for databases that support GUID types such as "uniqueidentifier", "uniqueidentifierstr" or "guid".
GUIDs are generated automatically for PK columns with a supported data_type, as well as non-PK with auto_nextval set.
METHODS
new_guid
The composing class must set "new_guid" to the method used to generate a new GUID. It can also set it to "undef", in which case the user is
required to set it, or a runtime error will be thrown. It can be:
string
In which case it is used as the name of database function to create a new GUID,
coderef
In which case the coderef should return a string GUID, using Data::GUID, or whatever GUID generation method you prefer.
For example:
$schema->storage->new_guid(sub { Data::GUID->new->as_string });
AUTHOR
See "AUTHOR" in DBIx::Class and "CONTRIBUTORS" in DBIx::Class.
LICENSE
You may distribute this code under the same terms as Perl itself.
perl v5.14.2 2011-05-10 DBIx::Class::Storage::DBI::UniqueIdentifier(3pm)
Hi,
I have a Oracle Database on Solaris 5.10 .
Following file are showing with SUID/GUID bits .
-rwsr-xr-x root dba /optware/oracle/10.2.0.2/db/bin/extjob
What will happen if this is changed to oracle dba .
I need to know the will there be a effect if the owner of extjob is... (3 Replies)
Hey All,
I had some minor questions regarding Sun's open storage
I understand it uses standard industry hardware (is the warranty void if we were to mix and match drives?)
I know it uses OpenSolaris for the storage features (but can it use any os?)
Does it have to be OpenSource? I... (7 Replies)
hi
i am using 6130 sun storage with 72gb*10 harddisk . Client want to increase the storage space. They asked me will it support 300 gb harddisk for the free slots(4 nos).
What procedure i have to follow for inserting new hardisk in this storage.
Storage is in production envirnment.
... (4 Replies)
Hello everyone
I would like to hear your opinions about Aix 6.1 and Aix 5.3 with Storage Hitachi the model is USP VM.
We buy it and I want to know day to day task with this storage and Aix.
Thanks for your comments.
Best wishes for this 2010 (2 Replies)
Hello all,
I have searched high and low for a solution to this, many have come really close but not quite what I'm after.
I have 2 files. One contains GUID's, for example:
8121E002-96FE-4C9C-BC5A-6AFF20DACECD
84468F30-F3B7-418B-81F0-0908E80792BF
A second file, contains a path to the... (8 Replies)