Merge pull request #24476 from vipulnsward/24314-eagerloading-doc-update

Document know limitation about using `references` in conjunction with custom select clauses [ci skip]
This commit is contained in:
Vipul A M 2016-08-09 14:19:48 +05:30 committed by GitHub
commit 67d0c9ee93
1 changed files with 3 additions and 2 deletions

View File

@ -1251,7 +1251,8 @@ articles, all the articles would still be loaded. By using `joins` (an INNER
JOIN), the join conditions **must** match, otherwise no records will be
returned.
NOTE: If an association is eager loaded as part of a join, any fields from a custom select clause will not present be on the loaded models.
This is because it is ambiguous whether they should appear on the parent record, or the child.
Scopes
------