Granada\ORM::_check_query_cache PHP Method

_check_query_cache() protected static method

Check the query cache for the given cache key. If a value is cached for the key, return the value. Otherwise, return false.
protected static _check_query_cache ( string $cache_key, $connection_name = self::DEFAULT_CONNECTION )
$cache_key string
    protected static function _check_query_cache($cache_key, $connection_name = self::DEFAULT_CONNECTION)
    {
        if (isset(self::$_query_cache[$connection_name][$cache_key])) {
            return self::$_query_cache[$connection_name][$cache_key];
        }
        return false;
    }
ORM