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

Commit ede38d47 by Christian Schuhmann

Honor schema when using findAll()

1 parent fb419fe1
Showing with 1 additions and 1 deletions
......@@ -453,7 +453,7 @@ module.exports = (function() {
options = paranoidClause.call(this, options)
return this.QueryInterface.select(this, this.tableName, options, Utils._.defaults({
return this.QueryInterface.select(this, this.getTableName(), options, Utils._.defaults({
type: QueryTypes.SELECT,
hasJoin: hasJoin
}, queryOptions, { transaction: (options || {}).transaction }))
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!