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

You need to sign in or sign up before continuing.
Commit 8e4f6cdc by Sascha Depold

Merge pull request #341 from closealert/master

Implemented alias-based prefetching for findAll as well (Fixes #327)
2 parents e6b7fea2 a191b8fc
Showing with 4 additions and 0 deletions
......@@ -140,6 +140,10 @@ module.exports = (function() {
includes.forEach(function(daoName) {
options.include[daoName] = this.daoFactoryManager.getDAO(daoName)
if (!options.include[daoName]) {
options.include[daoName] = this.getAssociationByAlias(daoName).target
}
}.bind(this))
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!