MongoDB使用$elemMatch与不使用$elemMatch区别
使用$elemMatch与不使用$elemMatch区别 (1)单个数组 db.orders.insertMany([ { _id:1, name:'zhangsan', score:[20,35,40,60] }, { _id:2, name:'liuchen', score:[15,67,86,100] …