finally i used
return array_reverse($mensajes, true);
with this i can invert result and this work very well and finally i think that this is better using array_reverse, not to force the sql engine.
Regards! if someone could explain how sql, I would appreciate, to understand it in the same way
take a look at https://github.com/fico7489/laravel-eloquent-join
Sign in to participate in this thread!
We'd like to thank these amazing companies for supporting us
The Laravel portal for problem solving, knowledge sharing and community building.