最终的查询条件为where feed_uid=5 and (status=1 or status =2 or status =3 )
$where = [
'feed_uid' => [ 'eq' , 5] ,
'status' => [ [ 'eq' , 1] , [ 'eq' , 2 ] , [ 'eq' , 3 ] , 'or' ] ,
];
$value = DealSpace::where($where)->count();
最终的查询条件为where feed_uid=5 and (status=1 or status =2 or status =3 )
$where = [
'feed_uid' => [ 'eq' , 5] ,
'status' => [ [ 'eq' , 1] , [ 'eq' , 2 ] , [ 'eq' , 3 ] , 'or' ] ,
];
$value = DealSpace::where($where)->count();