root/trunk/lib/Data/ObjectDriver/Driver/DBI/mysql.pm @ 7

Revision 7, 245 bytes (checked in by sky, 4 years ago)

r10@crucially-3 (orig r927): btrott | 2005-06-23 15:56:28 -0700
Changed to assume use of SERIAL columns, which auto-generate IDs for us

  • Property svn:keywords set to Id Revision
Line 
1# $Id$
2
3package Data::ObjectDriver::Driver::DBI::mysql;
4use strict;
5use base qw( Data::ObjectDriver::Driver::DBI );
6
7use Carp qw( croak );
8
9sub fetch_id { $_[2]->{mysql_insertid} || $_[2]->{insertid} }
10
11sub commit   { 1 }
12sub rollback { 1 }
13
141;
Note: See TracBrowser for help on using the browser.