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

Commit be76381c by Victor Pontis

fix of singly linked has many error

1 parent 93c164bb
Showing with 1 additions and 1 deletions
...@@ -1235,7 +1235,7 @@ module.exports = (function() { ...@@ -1235,7 +1235,7 @@ module.exports = (function() {
if (smth.attribute._isSequelizeMethod) { if (smth.attribute._isSequelizeMethod) {
key = this.getWhereConditions(smth.attribute, tableName, factory, options, prepend); key = this.getWhereConditions(smth.attribute, tableName, factory, options, prepend);
} else { } else {
key = this.quoteTable(smth.attribute.Model.name) + '.' + this.quoteIdentifier(smth.attribute.fieldName); key = this.quoteTable(smth.attribute.Model.name) + '.' + this.quoteIdentifier(smth.attribute.field || smth.attribute.fieldName);
} }
if (value._isSequelizeMethod) { if (value._isSequelizeMethod) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!