WebLinuxStudy

导航

 

 

SELECT * FROM user WHERE FIND_IN_SET(1, type);


DB::table('user')
  ->select(['*'])
  ->whereRaw('FIND_IN_SET(?, type)', [$type])
  ->get();

 

posted on 2022-07-05 17:24  WebLinuxStudy  阅读(1323)  评论(0)    收藏  举报