Eager loading

Is there a way to eager load related models automatically in Phalcon? Didn't find any information on this topic in the docs.



83.0k

You can use the query builder to create queries returning data from different models at the same time:

http://docs.phalconphp.com/en/latest/reference/phql.html#creating-queries-using-the-query-builder

Nice! Thank you...