framework/db/Query.php
public function where($condition, $params = [])
    {
        $this->where = $condition;
        $this->addParams($params);
        return $this;
    }
public function where($condition, $params = [])
    {
        $this->where = $condition;
        $this->addParams($params);
        return $this;
    }
public function where ( $ condition , $ params = [ ] ) { $ this -> where = $ condition ; $ this -> addParams ( $ params ) ; return $ this ; }
Sets the WHERE part of the query.

The method requires a `$condition` parameter, and optionally a `$params` parameter
specifying the values to be bound to the query.

The `$condition` parameter should be either a string (e.g. `'id=1'`) or an array.

{@inheritdoc}

@param string|array|ExpressionInterface $condition the conditions that should be put in the WHERE part.
@param array $params the parameters (name => value) to be bound to the query.
@return $this the query object itself
@see andWhere()
@see orWhere()
@see QueryInterface::where()
Sets the WHERE part of the query .