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

Elegant solution for recursive comments

Hi guys! I'm making comments, I've managed make just a simple comment block.

I need to know if there is a nice way to make recursive query or smth with phalcon orm.

the comments table is pretty standart id, parent_id, post_id, user_id, text, created_at, updated_at



43.9k
Accepted
answer