We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

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



3.9k

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)



98.9k

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