Why when i try to make a join, the return class is ROW not the Parceiros class ? I've tried .... Thanks
$fields = array( '\\Apps\\Models\\Parceiros.id', '\\Apps\\Models\\Parceiros.url', '\\Apps\\Models\\Parceiros.descricao', '\\Apps\\Models\\Parceiros.titulo', 'm.path', 'm.file' );
Short
$fields = array( '\Apps\Models\Parceiros.', 'm.', );
SQL
$select = Parceiros::query() ->leftJoin('\Apps\Models\Midias', 'm.id = \Apps\Models\Parceiros.id_midias', 'm') ->columns($fields);
Return Class
Phalcon\Mvc\Model\Row