/** * @param Closure $select * @param string $separator * @param bool $not * @return WhereStatement */ protected function addWhereExistCondition(Closure $select, string $separator = 'AND', bool $not = false) : self { $this->sql->addWhereExistsCondition($select, $separator, $not); return $this; }