我需要再添加一个地址,例如address.2._id,type
等......:
{
"address" : {
"1" : {
"_id" : ObjectId("5a570f3d422c8223bac22dca"),
"type" : "Primary",
"street" : "58,Jones road",
"area" : "Saidapet",
"city" : "Chennai",
"pincode" : "600015",
"state" : "Tamil nadu",
"country" : "India"
}
}
}
如何在嵌套文档下插入特定文档?