不要怂,就是干,撸起袖子干!

Commit 68709eea by Mick Hansen

fix: attributeMap should be object not array, fixed #2778

1 parent fc5125a0
Showing with 1 additions and 1 deletions
...@@ -290,7 +290,7 @@ module.exports = (function() { ...@@ -290,7 +290,7 @@ module.exports = (function() {
var query var query
, values = [] , values = []
, outputFragment , outputFragment
, modelAttributeMap = []; , modelAttributeMap = {};
query = 'UPDATE <%= table %> SET <%= values %><%= output %> WHERE <%= where %>'; query = 'UPDATE <%= table %> SET <%= values %><%= output %> WHERE <%= where %>';
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!