2020-04-09 【JOIN文】 Laravel PHP SELECT分の処理の重さは置いておいて $products = DB::table('products') // [1] 相手テーブル名 [2] 元テーブルカラム [3] = [4] 相手テーブルカラム ->leftJoin('pro_details', 'products.id', '=', 'pro_details.id') ->get();