public function setProperties(array $properties)
    {
        $bodyParams = $properties;

        $url      = UrlHelper::buildUrl(Urls::URL_QUERY_CACHE);
        $response = $this->getConnection()->put($url, $this->json_encode_wrapper($bodyParams));

        return $response->getJson();
    }
public function setProperties(array $properties)
    {
        $bodyParams = $properties;

        $url      = UrlHelper::buildUrl(Urls::URL_QUERY_CACHE);
        $response = $this->getConnection()->put($url, $this->json_encode_wrapper($bodyParams));

        return $response->getJson();
    }
public function setProperties ( array $ properties ) { $ bodyParams = $ properties ; $ url = UrlHelper :: buildUrl ( Urls :: URL_QUERY_CACHE ) ; $ response = $ this -> getConnection ( ) -> put ( $ url , $ this -> json_encode_wrapper ( $ bodyParams ) ) ; return $ response -> getJson ( ) ; }
Adjusts the global AQL query result cache properties

@throws Exception

@param  array $properties     - the query result cache properties.
the following properties can be used:
- maxResults: maximum number of results
that the query result cache will hold
per database
- mode: turns the query result cache on or off,
or sets it to demand mode. Possible values are
"on", "off", or "demand".

@return array
Adjusts the global AQL query result cache properties