1

in laravel code

Model::where(DB::raw('CONCAT(name, " " ,surname)'), 'like', '%'.$request->input('search').'%')

how to use in laravel scout meilisearch

John Lobo
  • 14,355
  • 2
  • 10
  • 20
dickhorror
  • 11
  • 1
  • I think this question is not properly presented, but if I understand it correctly, you are looking to do a search of the name and surname to exact match. I'm also interested in it. Could you please edit your question to make it more clear and increase the chances of an answer? Thanks! – Nil Suria Jul 18 '22 at 09:39

0 Answers0