orWhereExists() public method

Add an or exists clause to the query.
public orWhereExists ( Closure $callback, boolean $not = false ) : Builder | static
$callback Closure
$not boolean
return Builder | static
Exemplo n.º 1
0
 /**
  * Add an or exists clause to the query.
  *
  * @param \Closure $callback
  * @param bool $not
  * @return \Illuminate\Database\Query\Builder|static 
  * @static 
  */
 public static function orWhereExists($callback, $not = false)
 {
     return \Illuminate\Database\Query\Builder::orWhereExists($callback, $not);
 }