think-model-abstract
Advanced tools
Comparing version 1.0.7 to 1.0.8
@@ -197,4 +197,7 @@ const helper = require('think-helper'); | ||
transaction(fn, connection) { | ||
return this.socket().transaction(fn, connection); | ||
return this.socket().transaction(connection => { | ||
this.connection = connection; | ||
return fn(connection); | ||
}, connection); | ||
} | ||
}; |
{ | ||
"name": "think-model-abstract", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"description": "Abstract adapter for ThinkJS 3.x", | ||
@@ -5,0 +5,0 @@ "scripts": { |
74314
2395