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

Commit 9e6b0610 by Nick Acker

Use attribute name instead of field name in generateJoinQueries

1 parent bb959f45
Showing with 1 additions and 1 deletions
......@@ -971,7 +971,7 @@ module.exports = (function() {
, primaryKeysSource = association.source.primaryKeyAttributes
, tableSource = parentTable
, identSource = association.identifierField
, attrSource = association.source.rawAttributes[primaryKeysSource[0]].field || primaryKeysSource[0]
, attrSource = primaryKeysSource[0]
, where
, primaryKeysTarget = association.target.primaryKeyAttributes
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!