You can run raw sql to query direct to db $query= DB::select('select * from servers inner join favorites on favorites.server_id = servers.id where favorites.user_id = ?', [1]);
By:Xtreem Solution
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community