laravel中left join的使用

laravel中left join的使用 【laravel中left join的使用】left join 的使用

$v = '28'; $data = https://www.it610.com/article/DB::table('admin_users AS au') ->leftJoin('company AS c','au.company','=','c.id') ->where('admin_users.id',$v) ->select('au.id','au.name_cn','au.name_en','c.company_name') ->first();

    推荐阅读