SELECT u.*, r.name FROM [User\Model\User] AS [u] LEFT JOIN [User\Model\Role] AS [r] ON u.role_id = r.id ORDER BY u.id DESC
When I run the PHQL, I get the following error: Undefined index: name in phalcon/Mvc/Model/Resultset/Complex.zep on line 223
With Phalcon v3.4 is this PHQL not a problem. Only with Phalcon v4 (current version 4.0.0-rc.1).
I hope someone can help me.