Arthur Axel "fREW" Schmidt > DBIx-Class-0.08250_02 > DBIx::Class::Storage::DBI::IdentityInsert

Download:
DBIx-Class-0.08250_02.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

New  11
Open  15
Stalled  12
View/Report Bugs
Source   Latest Release: DBIx-Class-0.082700_04

NAME ^

DBIx::Class::Storage::DBI::IdentityInsert - Storage Component for Sybase ASE and MSSQL for Identity Inserts / Updates

DESCRIPTION ^

This is a storage component for Sybase ASE (DBIx::Class::Storage::DBI::Sybase::ASE) and Microsoft SQL Server (DBIx::Class::Storage::DBI::MSSQL) to support identity inserts, that is inserts of explicit values into IDENTITY columns.

This is done by wrapping INSERT operations in a pair of table identity toggles like:

  SET IDENTITY_INSERT $table ON
  $sql
  SET IDENTITY_INSERT $table OFF

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: