public function clear()
    {
        $this->query_type='SELECT';
        $this->fields=null;
        $this->from=null;
        $this->where='';
        $this->limit=null;
        $this->offset=null;
        $this->order_by=null;
        $this->order_way=null;
    }