我有一个文档 RFQ 和一个包含 4 个字段的子文档材料,并且可能有一个冗长的材料列表。理想情况下,我将如何在表格中显示子文档材料?
{
"_id" : 1,
"sdate" : ISODate("1924-12-03T05:00:00Z"),
"adate" : ISODate("2007-03-17T04:00:00Z"),
"materials" : [
{
"award" : "W.W. McDowellAward",
"year" : 1967,
"by" : "IEEE Computer Society"
},
{
"award" : "National Medal of Science",
"year" : 1975,
"by" : "National Science Foundation"
},
{
"award" : "Turing Award",
"year" : 1977,
"by" : "ACM"
},
{
"award" : "Draper Prize",
"year" : 1993,
"by" : "National Academy of Engineering"
}
]
}