是否可以在Mongo查询中使用类似"exists"的内容,根据ID返回此记录?
大约select where 'ids' contains key '123456'?
{
"department": "Digging",
"ids": {
"123456": {
"color": "blue"
},
"123457": {
"color": "red"
}
}
}