Builder|Builder
whereHas(string $relation, Closure $callback = null, string $operator = '>=', int $count = 1)
Add a relationship count / exists condition to the query with where clauses. Parameters string $relation Closure $callback string $operator int $count Return Value
Builder|Builder