-
Notifications
You must be signed in to change notification settings - Fork 87
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
Allow reset for some query parts #84
Comments
How about send a PR and in case @pmjones finds the time he can merge if that is ok :-) . |
OK I will do that ASAP. I was just checking if you were open to this change. |
Which syntax is better: a set of specialized reset methods support both 1 + 2 |
PR #91 . |
@golgote @yespire @gauthier @harikt -- I am considering a series of $newQuery = $oldQuery->withoutWhere()->withoutCols()->withoutOrderBy(); That way the existing query continues to exist, and the new one can be independently modified. Thoughts? |
No, on further consideration, we already have some |
@pmjones FYI in case if you missed the discussion on #91 (comment) . |
Addressed by #95 et al. Let me know if those do not server your purposes. |
What about:
public function orderBy(array $spec, $replace = false)
instead of : public function orderBy(array $spec)
This can be added to other clauses as well.
I personally need this because my query is built by different objects and each adds some clauses that might later need to be replaced by others.
The text was updated successfully, but these errors were encountered: