-
Notifications
You must be signed in to change notification settings - Fork 5
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
Order by rework #39
base: main
Are you sure you want to change the base?
Order by rework #39
Conversation
Please make sure tests are passing for PHP 7.4, 8.0 and 8.1. |
Looks like I did a whoopsie. I fixed it, so there aren't any regressions on the Query object |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overal looks very good, nice work! I have some small remarks
Please make sure the checks are passing. |
I have been looking at this, and I cannot seem to find any documentation on this. I tried it out, and it did seem to work. Is this documented anywhere? |
419d00f
to
259564d
Compare
Hello once again 👋
I just found out ORDER BY allows for order modifier for each property. This is possible:
ORDER BY x.x ASC, x.y DESC
For this reason I had to rework the OrderByClause to use Order objects and not worry about the order itself.
Looking forward to your feedback!