Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix documentation and add exception for foreignKey in contain
foreignKey = false in a contain() call for hasMany associations will not work. While it could be made to work, I really don't think the effort is justified. In the rare case that someone needs this kind of behavior they can use the lower level join() API to generate the required queries. Refs #5143
- Loading branch information
Showing
3 changed files
with
73 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters