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

orWhereNotExists() public method

Add a where not exists clause to the query.
public orWhereNotExists ( Closure $callback ) : Builder | static
$callback Closure
return Builder | static
    public function orWhereNotExists(Closure $callback)
    {
        return $this->orWhereExists($callback, true);
    }

Usage Example

Example #1
0
 /**
  * Add a where not exists clause to the query.
  *
  * @param \Closure $callback
  * @return \Illuminate\Database\Query\Builder|static 
  * @static 
  */
 public static function orWhereNotExists($callback)
 {
     return \Illuminate\Database\Query\Builder::orWhereNotExists($callback);
 }