laravel 中查 where in 查询想使用占位符
$order -> cat_second_name = DB::select("select flmc nam from t_baoxiufenlei where ID in ?",['('1','2','3')']);
$order -> cat_second_name = DB::select("select flmc nam from t_baoxiufenlei where ID in (?)",["'1','2','3'"]);
最后一次尝试 是使用上面 的写法 已失败告终!
尝试了多种写法都不行!!!
代码是以 laravel