我有一个多层架构:
{
a:String,
aList:
[
{
b:String,
bList:
[
{
c:String,
cList
[
d1:String
d2:String
]
}
]
}
]
}
问题是当我按照以下方式检索时
A.find( {a:aid, "aList.b":bid}, {_id:0, "aList.$.bList" : 1})
bList 始终作为字符串列表返回,我无法获取原始数据
{
aList:
[
{
bList: [ "[object Object]", "[object Object]", "[object Object]"]
}
]
}