Executes a caching query.
public executeCacheQuery ( string $query, array $params, array $types, Doctrine\DBAL\Cache\QueryCacheProfile $qcp ) : Doctrine\DBAL\Driver\ResultStatement | ||
$query | string | The SQL query to execute. |
$params | array | The parameters to bind to the query, if any. |
$types | array | The types the previous parameters are in. |
$qcp | Doctrine\DBAL\Cache\QueryCacheProfile | The query cache profile. |
return | Doctrine\DBAL\Driver\ResultStatement |