0
我想知道每個employeeid是從下面的jsonArray中的mongodb獲得的competencyTitle列表;Mongodb在jsonArray中找到
{
"_id" : ObjectId("54510afa1abd8deb32e82a2e"),
"EmployeeID" : "6",
"CompetencyTitle" : "Chemical",
"Weightage" : 8
}
/* 1 */
{
"_id" : ObjectId("54510afa1abd8deb32e82a2f"),
"EmployeeID" : "6",
"CompetencyTitle" : "Biology",
"Weightage" : 6
}
/* 2 */
{
"_id" : ObjectId("54510afa1abd8deb32e82a30"),
"EmployeeID" : "7",
"CompetencyTitle" : "Processes and Procedures",
"Weightage" : 5
}
輸出結果如下所示;
僱員6 {化學,生物} 僱員7 {過程和程序}
看起來不錯.. THX。 – FRizal 2014-10-29 16:07:22