Added dbi_commit and db_rollback. NEEDS TESTS.
Matt S Trout [Fri, 29 Jul 2005 16:19:38 +0000 (16:19 +0000)]
lib/DBIx/Class/DB.pm

index a54ba0d..afaf27b 100644 (file)
@@ -50,6 +50,10 @@ sub connection {
   $class->_dbi_connect_info(\@info);
 }
 
+sub dbi_commit { $_[0]->_get_dbh->commit; }
+
+sub dbi_rollback { $_[0]->_get_dbh->rollback; }
+
 1;
 
 =back