yii\db\QueryTrait::orWhere PHP Метод

orWhere() публичный Метод

The new condition and the existing one will be joined using the 'OR' operator.
См. также: where()
См. также: andWhere()
public orWhere ( string | array $condition )
$condition string | array the new WHERE condition. Please refer to [[where()]] on how to specify this parameter.
    public function orWhere($condition)
    {
        if ($this->where === null) {
            $this->where = $condition;
        } else {
            $this->where = ['or', $this->where, $condition];
        }
        return $this;
    }