[ [ 'goods_id' => 1, 'attr_item' => '49,52' ], [ 'goods_id' => 1, 'attr_item' => '49,51' ] ]
我想查询这样一个条件 goods_id=1 && attr_item =="49,52 || goods_id=1 && attr_item =="49,51"这样的多字段组成唯一性 要怎么写呢
回首忆惘然
相关分类