ODM Aggregate function

Hi there,

I'm a new user trying to get my head round how the ODM aggregation function works: https://phalcon-php-framework-documentation.readthedocs.org/en/latest/reference/odm.html#aggregations

Can anyone shed some light?

Thanks, George


Heh, search didn't seem to find it for me.

Thanks very much

(was searching on aggregate not aggregations - this thread comes up for that now, so all good)


Thanks @lobostome, I need to add that example to the docs :)