JamesMoss\Flywheel\Query::orWhere PHP Method

orWhere() public method

Adds a boolean OR predicate for this query,
public orWhere ( string | Closure $field, string $operator = null, string $value = null ) : Query
$field string | Closure The name of the field to match or an anonymous function that will define sub predicates.
$operator string An operator from the allowed list.
$value string The value to compare against.
return Query The same instance of this class.
    public function orWhere($field, $operator = null, $value = null)
    {
        $this->predicate->orWhere($field, $operator, $value);
        return $this;
    }