withCount functionality
CrisGuzmanS opened this issue · comments
Hi @CrisGuzmanS,
The issue is not withCount()
here but the having()
clause.
I explained this here and showed a workaround: laravel/framework#30184 (comment)
Thank you @staudenmeir that is true. For other developer that are facing the same problem than me, i found this solution: Person::has('citations','>',$number);