php - "Invalid fetch-style given for caching result" when using Redis caching with Doctrine 2 -
i "invalid fetch-style given caching result" whenever use:
$query->useresultcache(true);
with doctrine 2 , setting in query:
$query->getresult(query::hydrate_array);
i'm able cache results when don't use hydration , return results so:
$query->getresult();
i use doctrine 2, zend 2 , php 5.5
Comments
Post a Comment