laravel多字段模糊匹配
摘要:
1 use App\Models\Resume; 2 3 4 $resume = Resume::query(); 5 $content = $request->input('content'); 6 $resume = $resume->where('name','like',"$content%")->orWhereRaw("concat(`age`,`job_type`,`work_y... 阅读全文
posted @ 2019-08-01 10:59 头大的冯冯 阅读(799) 评论(0) 推荐(0) 编辑