public function where($condition) 
    {       
        $this->condition = $condition;
        $this->sql .= ' WHERE ' . $this->buildCondition($condition);
        
        return $this;
    }
public function where($condition) 
    {       
        $this->condition = $condition;
        $this->sql .= ' WHERE ' . $this->buildCondition($condition);
        
        return $this;
    }
public function where ( $ condition ) { $ this -> condition = $ condition ; $ this -> sql .= ' WHERE ' . $ this -> buildCondition ( $ condition ) ; return $ this ; }
Generate a where statement.

@param array $condition array with a condition

@return object $this
Generate a where statement .