addWhereExistsQuery() public method

Add an exists clause to the query.
public addWhereExistsQuery ( Builder $query, string $boolean = 'and', boolean $not = false )
$query Builder
$boolean string
$not boolean
 /**
  * Add an exists clause to the query.
  *
  * @param \Illuminate\Database\Query\Builder $query
  * @param string $boolean
  * @param bool $not
  * @return $this 
  * @static 
  */
 public static function addWhereExistsQuery($query, $boolean = 'and', $not = false)
 {
     return \Illuminate\Database\Query\Builder::addWhereExistsQuery($query, $boolean, $not);
 }