Illuminate\Database\Query\Builder::whereNotExists PHP Method

whereNotExists() public method

Add a where not exists clause to the query.
public whereNotExists ( Closure $callback, string $boolean = 'and' ) : Builder | static
$callback Closure
$boolean string
return Builder | static
    public function whereNotExists(Closure $callback, $boolean = 'and')
    {
        return $this->whereExists($callback, $boolean, true);
    }

Usage Example

コード例 #1
0
ファイル: _ide_helper.php プロジェクト: satriashp/tour
 /**
  * Add a where not exists clause to the query.
  *
  * @param \Closure $callback
  * @param string $boolean
  * @return \Illuminate\Database\Query\Builder|static 
  * @static 
  */
 public static function whereNotExists($callback, $boolean = 'and')
 {
     return \Illuminate\Database\Query\Builder::whereNotExists($callback, $boolean);
 }