有如下collection: 中有如下collection:
[{
name: 'micheal jackson',
albums: [
{ name: 'Got To Be There', year: 1972 },
{ name: 'Ben', year: 1972 },
{ name: 'Forever,Michael', year: 1975 }
]
}]
怎样查询出{ name: 'Ben', year: 1972 } 这个document,请注意:只要sub document
慕丝7291255
相关分类