DB.transactionInProgress() -- this generally shouldn't be needed externally, but due to nested transactions there can be cases where it's unavoidable

This commit is contained in:
Dan Stillman 2006-06-01 22:04:09 +00:00
parent 8572aefbcb
commit 4e0dbb3885

View file

@ -19,6 +19,7 @@ Scholar.DB = new function(){
this.beginTransaction = beginTransaction;
this.commitTransaction = commitTransaction;
this.rollbackTransaction = rollbackTransaction;
this.transactionInProgress = transactionInProgress;
/////////////////////////////////////////////////////////////////
//
@ -232,6 +233,12 @@ Scholar.DB = new function(){
}
function transactionInProgress(){
var db = _getDBConnection();
return db.transactionInProgress;
}
function getColumns(table){
var db = _getDBConnection();