jeudi 31 janvier 2019

Translation problems sql to eloquen. laravel 5.5

How can I translate this sql query to eloquent?

select governor_candidate from governor order by id=3 desc;

I tried to do it, but I need the id field, you can change the value.



from Newest questions tagged laravel-5 - Stack Overflow http://bit.ly/2RYCsj5
via IFTTT

Aucun commentaire:

Enregistrer un commentaire