//find_in_set $model->where('find_in_set(:cid,rc)', ['cid' => 9])->select(); //replace替换 搜索(10,12), 原(10),新(9) $model->where('id',1)->update([ 'rc' => Db::raw("replace('10,12',10,9)") ]);
标签:10,set,cid,replace,12,thinkphp,find From: https://www.cnblogs.com/jwyq/p/17217709.html