orWhere() public method

Adds an or where clause to the current query.
public orWhere ( string $field, string | null $operator = null, string | null $value = null ) : Builder
$field string
$operator string | null
$value string | null
return Builder
Esempio n. 1
0
 /**
  * Adds an orWhere clause to the current query.
  *
  * @param string $field
  * @param string $operator
  * @param string $value
  *
  * @return $this
  */
 public function orWhere($field, $operator = null, $value = null)
 {
     $this->query->orWhere($field, $operator, $value);
     return $this;
 }