added clearSelect and clearWhere to query builder #1912
If you have time to implement this for returning, limit, order by, join, group by, having, on, would be awesome. Still it won't be super useful since one cannot get for example subquery builders from outside to cleanup parts of subquery (like removing order by from some subquery).
Anyways I'm inclining to accept this feature after all. Maybe we could add new section to documentation, which lists all clearing functions, so it would be clear which parts of query builder can be reset...
Code looks look, only documentations seem to be missing.