laravel where in 数组

$Str = implode(',', $v);
$_where[] = [DB::raw("字段名 in ({$Str})"),'1'];
原文地址:https://www.cnblogs.com/ycqi/p/12095026.html