getSelectQueryHash() public method

Returns select query hash for caching.
public getSelectQueryHash ( $columns = NULL ) : string
return string
Esempio n. 1
0
 /**
  * Returns object specific cache key dependent on query parameters
  * Used e.g. for reference memory caching
  * @return string
  */
 protected function getSpecificCacheKey()
 {
     if ($this->specificCacheKey) {
         return $this->specificCacheKey;
     }
     return $this->specificCacheKey = $this->sqlBuilder->getSelectQueryHash($this->getPreviousAccessedColumns());
 }