How to make custom orderBy or DB::raw(FIELD()) with LIKE keyword and passing variable in laravel query builder

后端 未结 0 532
心在旅途
心在旅途 2021-01-19 15:11

I have a very simple solution but I dislike that. So, How can I do?

my data base is

--------------------------------------
id   name   view       creat         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题