Problems with query translation sql to eloquent, laravel 5.5

Posted 4 months ago by daniel21gt

I try to translate this query

select governor_candidate from governor order by 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.

Reply to

Use Markdown with GitHub-flavored code blocks.