projects
/
dbsrgits/DBIx-Class-Historic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
0fe5201
)
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
patch
|
blob
|
blame
|
history
diff --git
a/lib/DBIx/Class/DB.pm
b/lib/DBIx/Class/DB.pm
index
a54ba0d
..
afaf27b
100644
(file)
--- a/
lib/DBIx/Class/DB.pm
+++ b/
lib/DBIx/Class/DB.pm
@@
-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