Bluz\Db\Query\Traits\Where::where PHP Method

where() public method

Specifies one or more restrictions to the query result Replaces any previously specified restrictions, if any $sb = new SelectBuilder(); $sb ->select('u.name') ->from('users', 'u') ->where('u.id = ?', $id) ;
public where ( $condition )
$condition optional the query restriction predicates
    public function where(...$condition)
    {
        $condition = $this->prepareCondition($condition);
        return $this->addQueryPart('where', $condition, false);
    }