Hello everyone !
After successfully experimenting Phalcon cache (Memcache) on models with find / findFirst or with Models Manager, I'm facing a problem to cache properly aggregations !
An example :
$rows = MyModel::find(array("cache" => array("key" => "mykey", "lifetime" => 3600));
This one works like a charm.
But if i do this :
$rows = MyModel::sum(array("column" => "myfield", "cache" => array("key" => "mykey", "lifetime" => 3600));
This fails (like in all other calculations methods)
I'm in PHP 5.5.8 with Phalcon 1.2.5
Any idea of what's happening ?
Thanks !