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