php-cypher-dsl
php-cypher-dsl copied to clipboard
Order by rework
Hello once again :wave:
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!
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
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?