Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

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)

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::ACCESS(3)			User Contributed Perl Documentation		      DBIx::Class::Storage::DBI::ACCESS(3)

DBIx::Class::Storage::DBI::ACCESS - Support specific to MS Access DESCRIPTION
This is the base class for Microsoft Access support. This driver supports last_insert_id, empty inserts for tables with "AUTOINCREMENT" columns, nested transactions via auto_savepoint, "GUID" columns via DBIx::Class::Storage::DBI::UniqueIdentifier. SUPPORTED VERSIONS
This module has currently only been tested on MS Access 2010. Information about how well it works on different version of MS Access is welcome (write the mailing list, or submit a ticket to RT if you find bugs.) USING GUID COLUMNS
If you have "GUID" PKs or other "GUID" columns with auto_nextval you will need to set a new_guid callback, like so: $schema->storage->new_guid(sub { Data::GUID->new->as_string }); Under Catalyst you can use code similar to this in your Catalyst::Model::DBIC::Schema "": after BUILD => sub { my $self = shift; $self->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::ACCESS(3)
Man Page

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

what is SUID/GUID bits in UNIX/Solaris

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/ 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)
Discussion started by: reply2soumya
3 Replies

2. Solaris

Veritas Storage Question

How do you get the total size of the LUNS currently online on a Solaris 10 server running Symantec Storage Foundation? (2 Replies)
Discussion started by: soupbone38
2 Replies

3. Solaris

Sun Open Storage Questions

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)
Discussion started by: Keepcase
7 Replies

4. Solaris

Storage 6130

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)
Discussion started by: sijocg
4 Replies

5. AIX

Aix and Storage Hitachi

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)
Discussion started by: lo-lp-kl
2 Replies

6. UNIX for Dummies Questions & Answers

what is SUID,GUID and Sticky bit?

Dear all, what is SUID,GUID and Sticky bit permission? can anyone gave me explanation with example? thanks in advance.. (2 Replies)
Discussion started by: masthan25
2 Replies

7. AIX

New to San Storage

Can anyone recommend a good book on san storage basics and how it communicates with an AIX server? (1 Reply)
Discussion started by: NycUnxer
1 Replies

8. UNIX for Beginners Questions & Answers

awk assistance - Comparing 2 csv files

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)
Discussion started by: tirmUK
8 Replies