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

Commit 1d104c1d by ThePoloQ

Update query-generator.js

1 parent 2e096c06
Showing with 1 additions and 1 deletions
...@@ -584,7 +584,7 @@ module.exports = (function() { ...@@ -584,7 +584,7 @@ module.exports = (function() {
if (subQuery) { if (subQuery) {
// We need primary keys // We need primary keys
subQueryAttributes = mainAttributes subQueryAttributes = mainAttributes
subQueryAs.push(options.table.replace(/\`/g,'')) !Array.isArray(tableName) ? subQueryAs.push(tableName) : subQueryAs.concat(tableName)
mainAttributes = [options.table+'.*'] mainAttributes = [options.table+'.*']
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!