Add a relationship count / exists condition to the query with where clauses.
public whereDoesntHave ( string $relation, Closure $callback = null ) : |
||
$relation | string | |
$callback | Closure | |
return |