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 to write join query with Model::find()

I want to write join query with find() method given by phalcon. How u can do this?



33.8k

Doing this will make easy taking a related object (I think this is what you want) https://docs.phalcon.io/es/latest/reference/models.html#relationships-between-models