laravel where in 数组

$Str = implode(',', $v);
$_where[] = [DB::raw("字段名 in ({$Str})"),'1'];
posted @ 2019-12-25 09:45  烈焰螺旋  阅读(5966)  评论(0编辑  收藏  举报