protected function clearParams()
    {
        $this->limit      = null;
        $this->limitStart = false;
        $this->limitEnd   = false;
        $this->where      = null;
        $this->orderBy    = null;
        $this->groupBy    = null;
        $this->in         = null;
        $this->params     = [];
        $this->joins      = [];
        $this->query      = '';
    }