public function getCacheKey()
    {
        return $this->cacheKey ?: md5($this->db->getDbname() . $this->getSql() . serialize($this->params) . serialize($this->paramTypes));
    }
public function getCacheKey()
    {
        return $this->cacheKey ?: md5($this->db->getDbname() . $this->getSql() . serialize($this->params) . serialize($this->paramTypes));
    }
public function getCacheKey ( ) { return $ this -> cacheKey ? : md5 ( $ this -> db -> getDbname ( ) . $ this -> getSql ( ) . serialize ( $ this -> params ) . serialize ( $ this -> paramTypes ) ) ; }
Generate cache key form query and params

@return string
Generate cache key form query and params