文档:
order1.filter = ['tag1','tag2']
order2.filter = ['tag1','tag2','tag3']
想要得到:
query ['tag1','tag2'] -> (only order1)
query ['tag1','tag2','tag3'] -> (order1 and order2)
query ['tag1','tag2','tag3','tag4', etc ] -> (order1 and order2)
and
query ['tag1','tag3'] -> (null)
query ['tag2','tag3'] -> (null)
所有值order.filter都应该在查询数组中
怎么做?尝试过的指令 $all, $in :(