Ability to remove "clauses" from SQL builder
Opened this issue · 3 comments
bluesnowman commented
taai commented
Yeah, I have also needed this. But only for the limit()
. What I did - I created a nolimit()
method. I think that it will not be too hard to remove the LIMIT and ORDER BY, but WHERE get's more complex.
Maybe some day...
bluesnowman commented
Rather than have a 'nolimit()' method, we could just accept a NULL value which removes the limit. The same could be done with the offset method.
bluesnowman commented
Just added a new method to builder classes to reset them.