DBIx::Class::Storage::DBI::Oracle::Generic.3pm

Langue: en

Version: 2009-02-12 (fedora - 05/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

DBIx::Class::Storage::DBI::Oracle::Generic - Automatic primary key class for Oracle

SYNOPSIS

   # In your table classes
   __PACKAGE__->load_components(qw/PK::Auto Core/);
   __PACKAGE__->set_primary_key('id');
   __PACKAGE__->sequence('mysequence');
 
 

DESCRIPTION

This class implements autoincrements for Oracle.

METHODS


get_autoinc_seq

Returns the sequence name for an autoincrement column

columns_info_for

This wraps the superclass version of this method to force table names to uppercase

datetime_parser_type

This sets the proper DateTime::Format module for use with DBIx::Class::InflateColumn::DateTime.

AUTHORS

Andy Grundman <andy@hybridized.org>

Scott Connelly <scottsweep@yahoo.com>

LICENSE

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