Hydrahon icon indicating copy to clipboard operation
Hydrahon copied to clipboard

Select:Method for clearing OrderBy

Open marek-hanzal opened this issue 3 years ago • 0 comments

Hi!

I love a lot this library and I want just to ask if it would be possible to add a new method to \ClanCats\Hydrahon\Query\Sql\Select (and eventally related) to clear current orders? For example there is a way to drop fields, but it would be nice to drop also current order - my use case is a repository with default orders later on configured by an object, but I'm not able to clear default order and then respect just one from the configuration.

This looks like a simple adjustment, so the question is if it's worth your time, or if it could go into v2 or even... is still there an active development :) ?

Thanks for response!

marek-hanzal avatar Oct 04 '21 20:10 marek-hanzal