tp5怎么进行多条件查询?

//看到网上提供的是下面这个代码片的方法
$where = [
 'feed_uid'     => [ 'eq' , 5] ,
 'status' => [ [ 'eq' , 1] , [ 'eq' , 2 ] ,  [ 'eq' , 3 ] , 'or' ] ,
   ];
 $value = DealSpace::where($where)->count();

请问我现在有一个数组$arr[$key]:$arr[0]=1;$arr[1]=2;$arr[2]=3...
那我如何在‘status’中使用数组$arr[$key],

使得‘status’=> [ ['eq',$arr[$key] ] ]实现

与'status' => [ [ 'eq' , 1] , [ 'eq' , 2 ] , [ 'eq' , 3 ] , 'or' ] ,相同的效果呢?

https://blog.csdn.net/xiaoxinshuaiga/article/details/80177390

是这个意思吧,这样的原声sql查询比较好做,'status' => array('in','1,2,3');