-
Notifications
You must be signed in to change notification settings - Fork 900
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
includes() are used in ruby references() are used by sql Tables used in the select or where clause need to be joined using references, joins, or outer_joins. Up until now, we've treated them as the same. But it is taxing to have so many tables in the query. So they are split apart. :include is used in the select column, so it is referenced miq_expression is used in the where clause, so it is referenced include_for_find is only used to preload models. --- If references are not passed in, it defaults to existing behavior. Meaning, all includes are in references. But if references are passed in, then only those tables are referenced()
- Loading branch information
Showing
4 changed files
with
10 additions
and
4 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
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