Searches for something in the database.

@param string $column   - The column to search
@param string $operator - The operator for searching with
@param string $value    - The value you're looking for

@return \Illuminate\Database\Query\Builder
552274
public function where($column, $operator, $value)
    {
        $capsule = $this->_database->getCapsule();

        if (empty($column)) {
            throw new \Exception('You must provide the column to look up!');
        }
        if (empty($operator)) {
            throw new \Exception('You must provide an operator!');
        }
        if (empty($value)) {
            throw new \Exception('You must provide the value!');
        }

        $this->_model = $capsule->table($this->table)->where($column, $operator, $value);

        return $this->_model;
    }
568700
public function where(string $column, $value, $operator = self::OPERATOR_EQ, $connector = self::LOGICAL_AND): self
    {
        $this->criteria($this->where, $column, $value, $operator, $connector);

        return $this;
    }
1210762
public function findAllBy($key, $value, $operator = '=')
    {
        $query = $this->make();
        return $query->where($key, $operator, $value)->get( $this->getParameters );
    }
521366
public function having($column, $operator = '=', $value = null)
    {
        $this->havingType = 'AND';

        return $this->addCondition('having', $column, $operator, $value);
    }
1055175
public function date($column, $operator, $value = null)
    {
        if (func_num_args() < 3) {
            $value = $operator;

            $operator = null;
        }

        $this->addColumn('AND', $column, $operator, $value,
            function (string $column) {
                return 'DATE(' . $column . ')';
            },

            function (string $value) {
                return $this->dialect()->dateString($value);
            }
        );

        return $this;
    }
1311740
public function where($column, $operator = '=', $value = null, $boolean = 'and', array $columns = ['*'])
    {
        return $this->mediator->transform($this->mediator(func_get_args()));
    }
290125
public function orHaving($column, $operator = '=', $value = null)
    {
        $this->havingType = 'OR';

        return $this->addCondition('having', $column, $operator, $value);
    }
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;
    }
1355570
public function whereYear($column, $operator, $value = null)
    {
        $this->wConditions()->year(...func_get_args());

        return $this;
    }
674873
public function where($column, $operator, $value, $filter = false)
    {
        return $this->createConstraint(' WHERE', $column, $operator, $value, $filter);
    }
745165
public static function where($column, $value)
    {
        try {
            self::init();
            $query = 'SELECT * FROM ' . self::$modelTable . ' WHERE '. $column. ' = '. $value;
            return new QueryBuilder(self::$connect, $query);

        } catch (\Exception $exception) {
            var_dump($exception->getMessage());
        }
    }
830785
public function orWhere($column, $operator = null, $value = null)
    {
        [$value, $operator] = $this->prepareValueAndOperator(
            $value, $operator, func_num_args() === 2
        );

        return $this->where($column, $operator, $value, 'or');
    }
441494
public function where(
        $column,
        $operator = null,
        $value = null,
        $boolean = 'and'
    ) {
        if (is_array($column)) {
            $this->_where = $column;
        }

        return $this;
    }
1227395
public function where($column, $value, $operator = '=', $table = null)
    {
        $table = $table? $table : $this->table;
        $this->wheres[] = [
            'table' => $table,
            'column' => $column,
            'value' => $value,
            'operator' => $operator
        ];
        return $this;
    }
148755
public function andWhere($column, $operator, $value, $filter = false)
    {
        return $this->createConstraint('AND', $column, $operator, $value, $filter);
    }
267884
public static function where($column, $operator, $value = null)
    {
        list($operator, $value) = static::prepareOperatorAndValue(
            $operator, $value, func_num_args() === 2
        );

        return new ValueConstraint($column, $operator, $value);
    }
1110963
public function orWhere($column, $operator, $value = null)
    {
        $this->wConditions()->orColumn(...func_get_args());

        return $this;
    }