我是MongoDB的新手,我试图了解嵌套文档的文档结构是最佳做法。 例如,在我的情况下,哪种结构最好 - 1)
"nonAssociatedFindings": {
"finding": [
{
"name": "Non-mass enhancement (NME)",
"parameters": [
{
"name": "Distribution",
"value": "Focal"
},
{
"name": "Internal enhancement patterns",
"value": "Heterogeneous"
}
]
}
]
或 2)
"nonAssociatedFindings": [
{
"name": "Non-mass enhancement (NME)",
"parameters": [
{
"name": "Distribution",
"value": "Focal"
},
{
"name": "Internal enhancement patterns",
"value": "Heterogeneous"
}
]
}
]
此外,如果您可以建议任何好的材料来学习必需品,除了文档,我将不胜感激。 提前谢谢!