Support the ongoing development of →
Database Eloquent Queues
Last updated 2 years ago.

You would need to use join so your code would be something like this:

DB::table('plugins')->join('ratings', '', '=', 'ratings.plugin_id')->join('pluginreleases', '', '=',          'pluginreleases.plugin_id')->orderBy('ratings', 'desc')->orderBy('downloads', 'desc')->get();

Last updated 7 years ago.

Sign in to participate in this thread!


Your banner here too?

PrimusLV primuslv Joined 6 Nov 2016


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 - All rights reserved.