public function doesntHave($relation, $boolean = 'and', Closure $callback = null) { return $this->has($relation, '<', 1, $boolean, $callback); }
/** * Add a relationship count condition to the query. * * @param string $relation * @param string $boolean * @param \Closure|null $callback * @return \Illuminate\Database\Eloquent\Builder|static * @static */ public static function doesntHave($relation, $boolean = 'and', $callback = null) { return \Illuminate\Database\Eloquent\Builder::doesntHave($relation, $boolean, $callback); }