Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Google Sign In with OpenID

Any way to add a having clause to a Model::query()?

edited August 2013 in Framework

Just realized I need one...

Comments

  • There's no having() method, but it should be fairly straight-forward to add. You would need to modify sql() and you can probably base it on the where() method.

  • Looks like that will work. Would it make sense to wrap it in if (! empty ($this->query_group)) {}?

  • OK, pull request sent.

Sign In or Register to comment.