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

Commit 1bf29317 by Sascha Depold

fallback for options

1 parent 4530c512
Showing with 1 additions and 1 deletions
...@@ -352,7 +352,7 @@ module.exports = (function() { ...@@ -352,7 +352,7 @@ module.exports = (function() {
return this.QueryInterface.select(this, this.tableName, options, Utils._.defaults({ return this.QueryInterface.select(this, this.tableName, options, Utils._.defaults({
type: 'SELECT', type: 'SELECT',
hasJoin: hasJoin hasJoin: hasJoin
}, queryOptions, { transaction: options.transaction })) }, queryOptions, { transaction: (options || {}).transaction }))
} }
//right now, the caller (has-many-double-linked) is in charge of the where clause //right now, the caller (has-many-double-linked) is in charge of the where clause
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!