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

Combine stock item queries in a GROUP BY query #565

Merged

Conversation

jhawthorn
Copy link
Contributor

Follow up on #550

By selecting and grouping by the stock_items we can skip checking that the the variant exists in this location unit-by-unit.

Currently, the this will still select the stock_items's existence per-variant in the packer, but this should reduce the queries for stock items.

@jhawthorn jhawthorn changed the title Combine stock item queries GROUP BY query Combine stock item queries in a GROUP BY query Dec 4, 2015
@mtomov
Copy link
Contributor

mtomov commented Dec 4, 2015

👍

1 similar comment
@philbirt
Copy link
Contributor

philbirt commented Dec 7, 2015

👍

@jordan-brough
Copy link
Contributor

👍 nice.

jordan-brough added a commit that referenced this pull request Dec 8, 2015
…tion

Combine stock item queries in a GROUP BY query
@jordan-brough jordan-brough merged commit 61535f9 into solidusio:master Dec 8, 2015
@jhawthorn jhawthorn deleted the improve_join_in_package_generation branch October 17, 2016 23:18
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.

4 participants