摘要: 首先说一下 $elemMatch的用法: { _id: 1, results: [ 82, 85, 88 ] } { _id: 2, results: [ 75, 88, 89 ] } $elemMatch是匹配document 中数组中至少有一个元素满足$elemMatch中的所有条件,例如: { 阅读全文
posted @ 2016-10-18 12:20 Jensen_Lv 阅读(1938) 评论(0) 推荐(0) 编辑