Skip to content
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

Ability to remove "clauses" from SQL builder #36

Open
bluesnowman opened this issue May 20, 2012 · 3 comments
Open

Ability to remove "clauses" from SQL builder #36

bluesnowman opened this issue May 20, 2012 · 3 comments
Labels

Comments

@bluesnowman
Copy link
Member

See, http://dev.kohanaframework.org/issues/3495

@taai
Copy link

taai commented Aug 3, 2012

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
Copy link
Member Author

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
Copy link
Member Author

Just added a new method to builder classes to reset them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants