database icon indicating copy to clipboard operation
database copied to clipboard

Selection::resetOrder

Open hranicka opened this issue 10 years ago • 4 comments

In some cases it would be nice to have an option reset current order on the query.

I see that corresponding method ::setOrder is present in SqlBuilder since v2.3 but it's not used in Selection. So I've added option for ORDER BY clause reset.

What do you think about that?

hranicka avatar Feb 25 '15 14:02 hranicka

I never had strong opinition, how many methods should be reflected in selection.

hrach avatar Feb 25 '15 14:02 hrach

@hrach It failing on PHP 5.3 - this version is no longer supported?

hranicka avatar Feb 25 '15 15:02 hranicka

5.3 is failing, because it doesn't support the [] array syntax

redwormik avatar Mar 06 '15 12:03 redwormik

@redwormik Thx, I'm stupid or blind.

hranicka avatar Mar 06 '15 13:03 hranicka