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

How got a "COUNT(cond)" or "MAX(expr)" or etc.. with phalcon models?

Hey guys, it's me again :)

Unfortunately the documentation I have not found. Need got a max price of product.

Thanks.



8.2k
Accepted
answer

It's explain in documentation, have a check : https://docs.phalcon.io/en/latest/reference/models.html

Oh, it's true, i lost my eyes)

thanks.