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

Support 'grouping' of where() and having() conditions #136

Merged
merged 2 commits into from
Mar 22, 2017

Conversation

pmjones
Copy link
Member

@pmjones pmjones commented Mar 22, 2017

This allows for where(function ($select) {...} ), and put parens around the resulting conditions.

References #121 .

This allows for where(function($select){...}), and put parens around the resulting conditions
@pmjones pmjones mentioned this pull request Mar 22, 2017
@harikt
Copy link
Member

harikt commented Mar 22, 2017

Brilliantly done. One two emojis missing which we don't need for this.

Great work!.

Thank you for your efforts.

@harikt
Copy link
Member

harikt commented Mar 22, 2017

Oh may be we need a test for having also ?

@pmjones
Copy link
Member Author

pmjones commented Mar 22, 2017

Brilliantly done.

You're kind. :-)

Oh may be we need a test for having also ?

I was going to say "both where() and having() lead to the same methods" -- but then, it can't hurt, so I'll add one.

@pmjones pmjones merged commit dd21e32 into 3.x Mar 22, 2017
@pmjones pmjones deleted the 3.x-parens-around-conditions branch March 22, 2017 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants