XF 2.3 HAVING supported in finder?

Rene_V

Active member
Does Finder support HAVING in its syntax? There was noting about it in the Developer Documentation section. Searches in the forums here didn't bring up any results at all either.
 
Finders do not support grouping.

Depending on what you want to query it might be possible to use a subquery with whereSql.
 
Finders do not support grouping.
That's what I thought too. Thanks for confirming it.

Depending on what you want to query it might be possible to use a subquery with whereSql.
I want to get all duplicate records from a table and do a join with another table. I will give whereSql a try and see how it will go. Many thanks for the pointer. Appreciate the help.
 
XenForo 2.4 is getting some improvements to the query builder/finder system, so might not need to drop down to raw queries at that point (of course, doesn't help now though).

 
Back
Top Bottom