-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SQL optimization when Including collection and results are filtered by parent PK #2182
Labels
closed-out-of-scope
This is not something that will be fixed/implemented and the issue is closed.
Comments
@smitpatel Not done. |
I'm not sure if this is still an issue. Testing the same test as above:
Now produces a single SQL call:
Feels like we can close this now unless I've missed something? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
closed-out-of-scope
This is not something that will be fixed/implemented and the issue is closed.
Given the following query...
We generate the following SQL statements. The join to Order could be eliminated in the second query because it filters by the same column that is being used to join (i.e. we could filter by the FK rather than the PK).
The text was updated successfully, but these errors were encountered: