Skip to content

Add a SortSpecification for Columns in Joins #269

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

Merged
merged 5 commits into from
Oct 5, 2020

Conversation

jeffgbutler
Copy link
Member

If an order by column is not in the select list, and there is a join, then specifying the proper join clause can be a bit difficult. This PR adds a new SortSpecification implementation designed for this purpose, and a utility method in the SqlBuilder to create it.

Resolves #268

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling ee204a8 on jeffgbutler:improve-orderby into 365d381 on mybatis:master.

@jeffgbutler jeffgbutler added this to the 1.3.0 milestone Oct 5, 2020
@jeffgbutler jeffgbutler merged commit eb45ad3 into mybatis:master Oct 5, 2020
@jeffgbutler jeffgbutler deleted the improve-orderby branch October 5, 2020 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants