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
Example #1
0
 /**
  * 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);
 }