Set an "or where" clause for a pivot table column.

@param  string  $column
@param  string  $operator
@param  mixed   $value
@return $this
355299
public function orWherePivot($column, $operator = null, $value = null)
    {
        return $this->wherePivot($column, $operator, $value, 'or');
    }
927690
public function having($column, $operator = null, $value = null)
	{
		$type = 'basic';

		$this->havings[] = compact('type', 'column', 'operator', 'value');

		$this->bindings[] = $value;

		return $this;
	}
1053544
public function orHavingDate($column, $operator, $value = null)
    {
        $this->hConditions()->orDate(...func_get_args());

        return $this;
    }
132882
public function havingYear($column, $operator, $value = null)
    {
        $this->hConditions()->year(...func_get_args());

        return $this;
    }
1276690
public function filter($column, $operator = null, $value = null)
	{
		if( !isset($this->valid_columns[$column]) )
		{
			throw new InvalidArgumentException("Column '{$column}' not used");
		}

		$this->wheres[] = [ $this->valid_columns[$column], $operator, $value ];
		return $this;
	}
902478
public function or_where($column, $op = null, $value = null)
	{
		if($column instanceof \Closure)
		{
			$this->or_where_open();
			$column($this);
			$this->or_where_close();
			return $this;
		}

		if (is_array($column))
		{
			foreach ($column as $key => $val)
			{
				if (is_array($val))
				{
					$this->or_where($val[0], $val[1], $val[2]);
				}
				else
				{
					$this->or_where($key, '=', $val);
				}
			}
		}
		else
		{
			if(func_num_args() === 2)
			{
				$value = $op;
				$op = '=';
			}
			$this->_where[] = array('OR' => array($column, $op, $value));
		}
		return $this;
	}
116107
public function orWhereDay($column, $operator, $value = null)
    {
        $this->wConditions()->orDay(...func_get_args());

        return $this;
    }
1362674
public function where($column, $operator = '=', $value = false, $condition = 'AND')
    {
        $where = array();

        // Raw Query
        if ($column instanceof Raw) {
            $where['raw'] = true;
            $where['query'] = $column->getString();
            $where['condition'] = $condition;
            $where['operator'] = $operator;

            $this->queryCompiler->getQuery()->where($where);

            return $this;
        }

        $where['column'] = $column;
        $where['operator'] = $operator;
        $where['value'] = $this->quote($value);
        $where['condition'] = $condition;

        $this->queryCompiler->getQuery()->where($where);

        return $this;
    }
148755
public function andWhere($column, $operator, $value, $filter = false)
    {
        return $this->createConstraint('AND', $column, $operator, $value, $filter);
    }
290314
public function orWhere($column, $value, $operator = self::EQUALS, $quote = null)
    {
        return $this->orCriteria($this->where, $column, $value, $operator, $quote);
    }
598869
public function orHaving($column, $operator, $value = null)
    {
        $this->hConditions()->orColumn(...func_get_args());

        return $this;
    }
792423
public function where($column, $operator = null, $value = null, $boolean = 'and')
	{
		if ($column instanceof Closure)
		{
			$query = $this->model->newQuery();

			call_user_func($column, $query);

			$this->query->addNestedWhereQuery($query->getQuery(), $boolean);
		}
		else
		{
			$this->query->where($column, $operator, $value, $boolean);
		}

		return $this;
	}
783052
public function wherePivot($column, $operator = null, $value = null, $boolean = 'and')
    {
        return $this->where($this->table.'.'.$column, $operator, $value, $boolean);
    }
164701
public function havingDay($column, $operator, $value = null)
    {
        $this->hConditions()->day(...func_get_args());

        return $this;
    }
1284054
public function orWhereRaw($field, $operator = null, $value = null)
    {
        return $this->where($field, $operator, $value, 'or', true);
    }
1200684
public function searchWhere(string $column, $operator, $value = null)
    {
        if (func_num_args() < 3) {
            $value = $operator;

            $operator = null;
        }

        return $this->search(function ($item) use ($column, $operator, $value) {
            if ($operator === '>') {
                return $item[$column] > $value;
            }

            if ($operator === '<') {
                return $item[$column] < $value;
            }

            if ($operator === '!=' or $operator === '<>') {
                return $item[$column] != $value;
            }

            if (strtolower($operator) === 'in') {
                return in_array($item[$column], (array) $value);
            }

            return $item[$column] == $value;
        });
    }
232201
public function orHavingDay($column, $operator, $value = null)
    {
        $this->hConditions()->orDay(...func_get_args());

        return $this;
    }