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

Commit efc09b71 by Rui Fortes

fix addiing duplicate PK attributes in select query

1 parent 0180ecbb
Showing with 1 additions and 4 deletions
...@@ -544,10 +544,7 @@ module.exports = (function() { ...@@ -544,10 +544,7 @@ module.exports = (function() {
}) })
} else { } else {
mainAttributes.push("id") mainAttributes.push("id")
} }
//mainAttributes = mainAttributes.concat(factory.hasPrimaryKeys ? factory.primaryKeyAttributes : ['id'])
} }
// Escape attributes // Escape attributes
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!