1 year ago

Problems with query translation sql to eloquent, laravel 5.5

Posted 1 year ago by daniel21gt

I try to translate this query

select governor_candidate from governor order by governor.id=3 desc;

not work

governor::orderBy ('id=3', 'DESC');

What I'm I missing of?

Please sign in or create an account to participate in this conversation.