Skip to content
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

[5.5] Speed up picking related ids #20189

Merged
merged 1 commit into from
Jul 20, 2017

Conversation

garygreen
Copy link
Contributor

Just sending this PR again as didn't get a clear response on the last PR #19993.

With this PR, it avoids an unnecessary join when you only need the related ids for a pivot relation. This will speed up cases where you only need the related ids for the pivot table and nothing else - this will speed up touching the relations too.

@garygreen
Copy link
Contributor Author

Test is failing but will make it pass once 👍 is given

@taylorotwell
Copy link
Member

Sure, make tests pass.

@themsaid themsaid merged commit a5be200 into laravel:master Jul 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants