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

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

c# - Exception when attempting to modify Dictionary -