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

Several updates to the HAVING clauses #2257

Merged
merged 3 commits into from
Sep 23, 2019

Conversation

michalsn
Copy link
Member

Description
This pull request adds support for a couple of missing features for HAVING part of the query in Builder.

New Builder methods:
havingIn, orHavingIn, havingNotIn, orHavingNotIn, havingLike, notHavingLike, orHavingLike, orNotHavingLike

Also, support for grouping in HAVING clause was added:
havingGroupStart, orHavingGroupStart, notHavingGroupStart, orNotHavingGroupStart, havingGroupEnd

Ref #2247

Checklist:

  • Securely signed commits
  • Component(s) with PHPdocs
  • Unit testing, with >80% coverage
  • User guide updated
  • Conforms to style guide

@lonnieezell
Copy link
Member

Looks pretty thorough. Nice one. Thanks!

Although I cringe whenever we add additional arguments to those methods anymore. They're so big already.

@lonnieezell lonnieezell merged commit 064d85b into codeigniter4:develop Sep 23, 2019
@michalsn michalsn deleted the feature/having_like branch September 29, 2019 05:35
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