commit
cbb25cc37f
|
@ -58,7 +58,7 @@ Transaction.prototype.rollback = function(cb) {
|
||||||
* @param cb
|
* @param cb
|
||||||
*/
|
*/
|
||||||
Transaction.begin = function(connector, options, cb) {
|
Transaction.begin = function(connector, options, cb) {
|
||||||
if (typeof isolationLevel === 'function' && cb === undefined) {
|
if (typeof options === 'function' && cb === undefined) {
|
||||||
cb = options;
|
cb = options;
|
||||||
options = {};
|
options = {};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue